Please help to write this simaple regular expression

Discussion in 'Perl Misc' started by Jay@HK, Jan 22, 2007.

  1. Jay@HK

    Jay@HK Guest

    I need to find out all html tags except <br>
    Thanks a lot!!!
     
    Jay@HK, Jan 22, 2007
    #1
    1. Advertisements

  2. Jay@HK

    -berlin.de Guest

    Jay@HK <> 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
     
    -berlin.de, Jan 22, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VSK
    Replies:
    2
    Views:
    2,695
  2. dotnetprogram

    Regular Expression help please...

    dotnetprogram, Dec 17, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    2,227
    Rajesh.V
    Dec 17, 2003
  3. Replies:
    3
    Views:
    415
  4. Replies:
    2
    Views:
    444
    =?Utf-8?B?R3VmZmE=?=
    Apr 21, 2006
  5. KiwiBrian
    Replies:
    1
    Views:
    742
    C A Upsdell
    Jan 1, 2005
  6. KK
    Replies:
    2
    Views:
    1,070
    Big Brian
    Oct 14, 2003
  7. Chris Dollin

    Regular Expression help please!

    Chris Dollin, Feb 23, 2007, in forum: Java
    Replies:
    7
    Views:
    377
  8. Vittal
    Replies:
    3
    Views:
    181
    Vittal
    Mar 10, 2005
Loading...