Problems? Is your data what you think it is? | |
PerlMonks |
Re: String Matchby bellaire (Hermit) |
on Nov 30, 2009 at 12:28 UTC ( [id://810137]=note: print w/replies, xml ) | Need Help?? |
You don't need quotes inside the regex (the paired slashes do that job), including them searches for quotes inside your string, which you don't have.
That makes:
UPDATE: Thanks for the replies, as ww indicates, you actually want to negate the search on the second # symbol, as his solution does (see below).
In Section
Seekers of Perl Wisdom
|
|