I'm trying to remove html tags from messages using regexp. The patch below seems to work. But when the message doesn't contain any html tags, regexp doesn't pass it through. Does anyone know how I can get around this, so ALL messages with, or without html tags will pass through regexp?
Thanks a lot.