Welcome to the Monastery | |
PerlMonks |
Re: trouble with regular expressionsby moritz (Cardinal) |
on Nov 06, 2012 at 14:46 UTC ( [id://1002493]=note: print w/replies, xml ) | Need Help?? |
my code s/(\;do.*)(\<\/iframe\>\'\)\;)/sss/; matches only first 4 symbols... The regex inside your substitution matches the whole string, not "only first 4 symbols", whatever you mean by "symbol". So, what do you want to do? Update: The OP silently updated his node, so this reply might or might not be irrelevant now.
In Section
Seekers of Perl Wisdom
|
|