Instead of trying to come up with THE regex that covers all possible HTML situations, 
just check out the module HTML::Parser that makes stripping HTML tags mind-numbingly 
easy.

Mark :)

>>> "Scott Phelps" <[EMAIL PROTECTED]> 10/16/00 08:28AM >>>


Am I the only person who considers regular expressions confusing as hell?

All I want to do is remove all the HTML from a string.

s/<.*>//g; wipes the whole thing because > is included in the .* meta.

How could I just remove < everything until > ?


 _______________________________
|                               |
| Scott Phelps                  |
| NT Systems Administrator      |
| WebKorner Internet Services   |
| [EMAIL PROTECTED]          |
| www.webkorner.com             |
| MCDTP (Microsoft Certified    |
| duct tape professional)       |
|_______________________________| 
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED] 
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to