PDA

View Full Version : regular expression


lummoxcooties
12-08-2006, 06:34 PM
I have a bookmark page that I want to turn into a normal page, but I don't want to go and erase every tag. Using REs, is it possible to strip out everything except the a href and the corresponding link, leaving only a valid link and getting rid of "add date," last_modifies, icon, id, etc.?

An example would be

<A HREF="http://liquidparallax.com/" ADD_DATE="1158714008" LAST_MODIFIED="1165630888" ICON="data:image/x-icon;base64,AAAAAAAA" FEEDURL="http://liquidparallax.com/feed/atom/" ID="rdf:#$iajap2">liquid parallax</A>
A diverse assortment of resources and ideas to suit everyone. Discover serious articles, didactic information, free software and resources, a miscellanea of art, design, and a dash of humor.

Tarmithius
12-08-2006, 06:40 PM
Is that generated by Wordpress?

lummoxcooties
12-09-2006, 12:31 AM
No, it's just an entry of a bookmark page generated by firefox, like a normal bookmark html file in app data>Firefox>profile, etc.