Page 1 of 1
Regular expressions
Posted:
Tue Apr 28, 2020 11:00 am
by dane
Good Morning - regex confuses the bejeesus out of me. I want to be able to search for Aston Martin without seeing headers for Aston Springs or Aston Martinez. What's the secret of searching for specific literal strings?
Thanks,
DaDane
Re: Regular expressions
Posted:
Tue Apr 28, 2020 1:31 pm
by Quade
If you want the two words together with the space, you can use
"aston\smartin"
The "\s" means "space".
Re: Regular expressions
Posted:
Tue Apr 28, 2020 3:10 pm
by dane
Hi Quade - thanks for the reply. Sorry to be a pain but I'm still a bit confounded.
If I enter "aston\smartin" (with or without "") I get an error that says no results
If I just enter aston martin - 304 headers; "aston martin" 272
If after one of those, I replace the space with \s (aston\smartin - with or w/o "") and don't hit enter - 125 headers.
That's the closest I get to what I want (still get aston martinez), but it take 2 steps. Is that how it should be?
Thanks,
DaDane