Minor regex fix for stripTags

I made some changes, please review.

Modified the regular expression to work for empty tags with no spaces, eg. <br/>