Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: MartyWalshThe problem here is that (, ) and $ are all special characters as defined by a language called Regular Expressions. See
http://en.wikipedia.org/wiki/Regular_expression for more information.
If you have ( as a delimiter, and you wish to identify a string matching it, the syntax is:
result = regexIsMatch("StrngtoSearch" , "//(" )
ie, "//" escapes the special character and allows it to be treated as a normal character.
Attached is a graph that shows a very basic example for using special characters in regular Expression matching.
Cheers
Attachments:
veryBasicRegexGraph.brg