[ie, gecko]
This example shows how to parse a body of text extracting any URL starting with " http://" and ending with a space and replacing each URL with markup to make the URLs hyperlinks. This example also shows just the extracted links and then renders the resulting marked up HTML so the links can be seen.
More explanation of this technique can be found in my complete article Processing HTML using Regular Expressions on www.notestips.com
.