Page 1 of 1

search for $c only

Posted: Thu Oct 17, 2013 12:00 pm
by cretaceous
I'm searching PHP files and I want to look for string literal $c
I don't want to get results for anything else like $cabc etc

How do I do that?

Re: search for $c only

Posted: Thu Oct 17, 2013 12:13 pm
by DigitalVolcano
You can use regular expression mode:

RegEx: \$c\b

\$ = escaped dollar sign
\b = word boundary

Re: search for $c only

Posted: Thu Oct 17, 2013 12:44 pm
by cretaceous
aha.. thanks!
TextCrawler looks very useful