Hello Beginners,
I was looking for a mailing list about REGEXP but I didn't find it. Maybe
there is somebody here that can help me...
Suppose you have the following string
$str = "... <b>John <i>Smith</i> (male)</b> and <b>Elisabeth
<i>Jones</i> (female)</b> ..."
and that you want to find out the container of the first B-tag, that is you
want to get the string "John <i>Smith</i> (male)". Now, if I use the
following regexp
$str =~ m/<b>(.*)<\/b>/i;
I get as result, i.e. $1:
"John <i>Smith</i> (male)</b> and <b>Elisabeth <i>Jones</i> (female)"
and not what I wanted!!
Thanks & Cheers,
Michele
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]