...

View Full Version : regexp



BubikolRamios
03-08-2008, 12:58 PM
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.

BubikolRamios
03-09-2008, 05:42 PM
the answer is here:

http://regexadvice.com/forums/thread/40181.aspx



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum