are there any ideas?Yes, consider abandoning a regex approach, and select an appropriate CPAN solution for parsing HTML. I have used HTML::TokeParser, although I am not experienced enough with it to know if it will solve your problem.
In reply to Re^3: regex: something...(!something)...something
by toolic
in thread regex: something...(!something)...something
by aaaone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |