Re: [MacPerl-AnyPerl] verifing a string
[email protected] (Multi-Graphics) Wed, 31 Jul 2002 23:03:31 +0200
| Newsgroups | perl.macperl.anyperl |
|---|---|
| Message-ID | <B96E1D43.1456%[email protected]> |
> $srting =~ s/<META NAME="keywords" CONTENT="(.+)".*?>/$1/igs > This script line isn't working when the $srting contains >> if the string contans for example this: >> <META NAME="keywords" CONTENT=" >> test, good"> after CONTENT=" is a new line, and the script will not see the keywords. I have tryed to put .*? somware else but whit no result. Any other sugestions will be very welkom. But thanks anyway