Regex Part Something

I am working on cleaning up a bunch of HTML files that have needless links in them. This is the regex that worked:

<a(/?[^\>]+\>)

The idea was to select everything from the opening of the link ``, in a second pass through the documents. (I used a text editor, [Textmate](http://macromates.com), which allows me to search and replace throughout an entire directory.)

Leave a Reply