Macthing whole words and not substrings
Posted: Fri Jan 22, 2010 1:29 pm
Hey guys I'm trying to write a regexp that will match a range of alternate whole words but not match substrings
for e.g.
would match
for e.g.
Code: Select all
/cat|hat|sat/but notcat or sat
catalyst or saturday