[Israel.pm] cutting characters from a string
Lena Farid
lina at xtradyne.de
Fri Jan 9 08:21:31 PST 2004
Hi ppl,
I need to cut certain characters from a string .
+'events/news.htm"><img this is my string and i want to only have
events/news.htm without the rest
i'm using ~ y/[+\"\'<>*]//d to remove the characters specified within
the [ ] but is there a way to tell perl to cut everything before and
after events/news.htm? becasue the alphabetical characters after the
part I need aren't always the same
Any tips?
thanx in advance,
Lina
More information about the Perl
mailing list