Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
You have some common mistakes in your script:
You are matching greedy - add a ? after your +, like this: Also, you assume that the opening bracket and the closing are on the same line, which isn't usually neeeded. So adding the s modifier to your substitutions would help, too. And, you forgot to substitute > with > :) There is lot of space for optimizing it, like using different delimeters to avoid having to escape the slash, or doing more substitutions just in one line, like the first two: I hope you get what I mean, nice script anyway. -- use signature; signature(" So long\nAlfie"); In reply to Re: Dump Text from HTML
by alfie
|
|