Regular Expression: Find HTML and XML Tags

Regular expression to find tags in HTML or XML

Not that this is a tough one to figger out, but here is a tiny little regex that I've used many times in Textmate to search-n-replace out useless tags from chunks of HTML code.

Regular Expression Code

<([^>]+)?>