I can't see why this would have cleared the entire string but then again, I haven't seen the entire string you are trying to parse. Perhaps you could post a little more...$test =~ s/<head>.+<\/head>|<html>|<\/html>|<body.*?>|<\/body>//sgi;
In reply to Re: Re: Re: Removing selective tags and content between
by ChrisR
in thread Removing selective tags and content between
by diamich
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |