edatz
05-09-2011, 06:21 AM
Hi, I have a search that I've used for years to go thru my FFDB's and it works fine - for text. I can pick up things like 150k etc., also.
I now need to be able to see results differently. Say like this:
Search for $var and return var
Searching for var by itself works and the $ is ignored.
So I'm thinking escape special characters but retain what is after them
I've tried this, but it doesn't do the trick.
$match =~ s/([\!\&\$\#\@\\])/.*/gi;
Any ideas?
Thanks
I now need to be able to see results differently. Say like this:
Search for $var and return var
Searching for var by itself works and the $ is ignored.
So I'm thinking escape special characters but retain what is after them
I've tried this, but it doesn't do the trick.
$match =~ s/([\!\&\$\#\@\\])/.*/gi;
Any ideas?
Thanks