When you want to output a part of an RSS feed or content that contains tags, you'll want to at least strip out the image tags. If you know that all tags are lowercase, you can use rereplace, otherwise, use rereplacenocase.
To get rid of all tags:
rereplacenocase("<[^<]*>",variable,"all")
This regular expression searches for all patterns that begin with a
<, have something in the middle that's not a
< and end with a
>.
To get rid of image tags only:
rereplacenocase("<img[^<]*>",variable,"all")
This expression is same as previous, except it searches for patterns beginning with <img.
To get rid of two or more specific tags:
rereplacenocase("<(img|/?div|br)[^<]*>",variable,"all")
This expression searches for patterns beginning with <img, <div, </div or <br. The reason I'm using * instead of a + is because closing tags don't have characters between the beginning pattern and the ending pattern.