Coderwall
Ruby Python JavaScript Front-End Tools iOS
More Tips
Ruby Python JavaScript Front-End Tools iOS PHP Android .NET Java Jobs
Jobs
Sign In or Up
Last Updated: February 25, 2016
·
1.557K
· anthonylevings

Searching strings in Xcode using NSScanner and NSRegularExpression

#regex
#grep
#find
#nsstring
#regular expressions
#strings
#nserror
#nsrange
#nsregularexpression
#nsscanner

In this post I discuss the different ways in which NSScanner and NSRegularExpression approach searching an NSString in Xcode, and how to make use of the results they provide: http://sketchytech.blogspot.com/2012/04/finding-text-in-xcode-nsscanner-and.html

#regex
#grep
#find
#nsstring
#regular expressions
#strings
#nserror
#nsrange
#nsregularexpression
#nsscanner

Written by Anthony Levings

Say Thanks
Respond

Related protips

Lookahead and Lookbehind regex

34.05K
0

Regex to parse your default nginx access logs

17.7K
2

Searchable RegEx Cheat Sheet

13.95K
0

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Best #Regex Authors
adrian2112
34.03K
#regex
#Objective-C
#CoffeeScript
aviatrix
17.66K
#regex
#C#
#.net
barnettjw
13.79K
#regex
#css
#powershell
jasonseney
12.21K
#regex
#Javascript
#Ruby
ryanartecona
11.25K
#regex
#PHP
#javascript
Related Tags
#regex
#grep
#find
#nsstring
#regular expressions
#strings
#nserror
#nsrange
#nsregularexpression
#nsscanner
Sponsored by
#native_company#
#native_desc#
#native_cta#
Filed Under

Tools
Awesome Job
See All Jobs

Post a job for only $299
Thanks to our sponsor
Sponsored by #native_company# — Learn More
#native_title# #native_desc#
#native_cta#
@coderwall
APM product comparisons Contact Privacy Terms

Copyright 2025

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.