search and replace is always on regexp. remove-all-but-tags now works if there are no tags at all in string