Thanks. But I need to keep the content ,without html outside start and end tags. The solution above will preserve everything between font tags but remove the content outside completely.
The way CODE tag implemented here is very similar to what I want. It removes all html outside code but preserves it inside and makes it in different font.