Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Please help to write this simaple regular expression

Reply
Thread Tools

Please help to write this simaple regular expression

 
 
Jay@HK
Guest
Posts: n/a
 
      01-22-2007
I need to find out all html tags except <br>
Thanks a lot!!!

 
Reply With Quote
 
 
 
 
anno4000@radom.zrz.tu-berlin.de
Guest
Posts: n/a
 
      01-22-2007
Jay@HK <(E-Mail Removed)> wrote in comp.lang.perl.misc:
> I need to find out all html tags except <br>


That's not a simple regex. HTML parsing is harder than it looks.
It is best done by a real parser. Look for HTML on CPAN, there
are a few.

Anno
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seek xpath expression where an attribute name is a regular expression GIMME XML 3 12-29-2008 03:11 PM
C/C++ language proposal: Change the 'case expression' from "integral constant-expression" to "integral expression" Adem C++ 42 11-04-2008 12:39 PM
Matching abitrary expression in a regular expression =?iso-8859-1?B?bW9vcJk=?= Java 8 12-02-2005 12:51 AM
Help needed to write a regular expression. Vittal Perl Misc 3 03-10-2005 11:34 AM
Dynamically changing the regular expression of Regular Expression validator VSK ASP .Net 2 08-24-2003 02:47 PM



Advertisments