I need to parse 2 words between <td> brackets: "hello" and "bye"
$text= "<td class=sp></td><td>Hello</td><td class=sp></td><td>Bye</td> +<td class=sp>"; if ($text=~ m/<\/td><td>([^ ]*)<\/./g) {print "$1\n$2\n$3";}
but I only get first one "hello" and cannot parse "bye" word.
Please help
Code and p tags added by GrandFather
In reply to problem with parsing by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |