Hello. I would like to know how I can find multiple URL's in a textarea then use "for each" to run code that I want to run on each URL.

For example, if the user typed this into the textarea "Hello, please visit http://example.com and http://google.com" then I would want to be able to find each URL in the textarea and run the code that I want to run on each URL.

Sorry that I'm a bit vague.

Regards,
Chris.