replacing html tags using regular expressions
String s = "<b>Hello World<b>";How I can replace only the <b> and </b> and not i.ethe output should be "Hello World"
[191 byte] By [
java31a] at [2007-11-26 20:48:39]

thanks, what if I need to remove other html tags with the exception of , it is possible to achieve this? I had s.replaceAll("<.*?>","") which replaces all the html tags, is there any way I can modify this to retain the ?