I felt at the time this was a bit ugly, and should certainly have been doable in one regex, but didn't work out how - that's something I'd like to be able to do with a regex, though I agree it's not all that sophisticated.$file =~ s/^.*$startstring/$startstring/s; $file =~ s/$endstring.*$//s; $file =~ s/<[^>]*>/ /g;
In reply to Re: Call for code samples!
by George_Sherston
in thread Call for code samples!
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |