Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: regexp

  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,994
    Thanks
    120
    Thanked 76 Times in 76 Posts

    regexp

    Code:
      String b = "<tr><th></th><th>A</th><th></th><th>B</th></tr>";
      b = b.replaceAll("<th.*></th>","");
    and b becomes "<tr><th>B</th></tr>"


    where is <th>A</th> ?

    tested this in js, same result, please explanation.
    Last edited by BubikolRamios; 03-08-2008 at 02:16 PM.

  • #2
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,994
    Thanks
    120
    Thanked 76 Times in 76 Posts


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •