Search strings with imbedd special characters
Posted: Thu Aug 23, 2007 11:45 am
Hello,
I guess I'm "regular expression - challenged" like many others in this forum.
I'm trying to understand how to search on an expression that contains imbedded
special characters and can't seem to get it. Any help (especially examples)
would be greatly appreciated. Following are the attempts I made and the results-
Searching for (xx1)
search string result
------------- ------
(xx1) - finds (xx1), but also (xx24), (xx60), etc.
"(xx1)" - gives - No results found for query "\\\"(xx1)\\\""
\(xx1\) - finds (xx1), but also (xx24), (xx60), etc.
\Q(xx1)E\ - finds (xx1), but also (xx24), (xx60), etc.
Searching for St. John
search string result
------------- ------
St. John - finds St. John, but also every other John
"St. John" - gives No results found for query "\\\"St. John\\\""
St\.\ John - finds everything with a blank in it? (many hits without ST. or John)
\QSt. JohnE\ - finds everything with a blank in it? (many hits without ST. or John)
I guess I'm "regular expression - challenged" like many others in this forum.
I'm trying to understand how to search on an expression that contains imbedded
special characters and can't seem to get it. Any help (especially examples)
would be greatly appreciated. Following are the attempts I made and the results-
Searching for (xx1)
search string result
------------- ------
(xx1) - finds (xx1), but also (xx24), (xx60), etc.
"(xx1)" - gives - No results found for query "\\\"(xx1)\\\""
\(xx1\) - finds (xx1), but also (xx24), (xx60), etc.
\Q(xx1)E\ - finds (xx1), but also (xx24), (xx60), etc.
Searching for St. John
search string result
------------- ------
St. John - finds St. John, but also every other John
"St. John" - gives No results found for query "\\\"St. John\\\""
St\.\ John - finds everything with a blank in it? (many hits without ST. or John)
\QSt. JohnE\ - finds everything with a blank in it? (many hits without ST. or John)