iphone - Regular Expression for number.(space), objective-c -
i have nsarray of lines (objective-c iphone), , i'm trying find line starts number, followed dot , space, can have number of spaces (including none) before it, , have text following eg:
1. random text 2. text random 3. what regular expression use this? (i'm trying learn it, , needed above expression anyway, thought i'd use example)
with c#:
@"^ *[0-9]+\. " it doesn't check presence of after ., legal:
1.(space) if delete @ , escape \ should work other languages (it pretty "down-to-earth" regexpes go)
Comments
Post a Comment