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]
# 1
s = s.replaceAll("</?b>", "");
uncle_alicea at 2007-7-10 2:11:59 > top of Java-index,Java Essentials,New To Java...
# 2
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 ?
java31a at 2007-7-10 2:11:59 > top of Java-index,Java Essentials,New To Java...
# 3
s = s.replaceAll("<(?!br\\b)[^<>]++>", "");
uncle_alicea at 2007-7-10 2:11:59 > top of Java-index,Java Essentials,New To Java...
# 4
thank u very much
java31a at 2007-7-10 2:11:59 > top of Java-index,Java Essentials,New To Java...