Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Isn't working quite right. I change the (.+)? to (.*?) and it mathces 1 item, but it doens't match a lot of junk code like it does with my current code. It needs to match ALL items it finds.push (@items, $1) while $saved_page =~ m#<\/a><br>(.+)?<br>\ \; +<b>#g;
The code I am trying to look through looks like
I'm trying to match anything that appears between the two BR tags whether it's 1 word, multi words, hypens, numbers, etc.</a><br>Haunted Woods 1.13 WC Piece<br> <b>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: html regex problem
by marto (Cardinal) on Apr 19, 2006 at 15:27 UTC | |
| |
|
Re: html regex problem
by ikegami (Patriarch) on Apr 19, 2006 at 16:36 UTC | |
| |
|
Re: html regex problem
by prasadbabu (Prior) on Apr 19, 2006 at 15:33 UTC |