Regular Expression to find multiple words


hey guys,

i'm searching through text stored in nsstring object specific line of text this: > place somewhere<. have code set need find regular expression pattern. search other pieces of info using patterns start >(my pattern) , work. problem text i'm looking can have different number of words each time, know between >< , starts to.

that's regular expressions have suggestions me? i'm new regular expressions can can't seem make sense of i'm finding on google.

help!
 

i'm assuming you're using nsregularexpression don't know about. did create following pattern maybe looking for. looks multiple words within knows outer characters mention. accounts non word characters such comma between words. assumption before each word, there space.

code:
@"> to( \\w*\\w?)+<"

out knowing more detail come with.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Rogue - the old text based game. I can't find it!

RAID in Early 2009 Mac Pro

NBC Releases Summer Olympics iOS Apps, Offering Livestreaming of All 302 Events