> I have a file which contains HTML and I want to go through 
> the whole thing and extract the urls.

Are you wanting all URL's that occur in href's in <a> tags or ALL URL's
wherever they occur in the page?

If you are looking for all href's, it's easier:

Match: href="[^"]*"
Replace with correct URL syntax

I suspect that you are after something slightly different though...

Paul

> I'm then going to loop through all of them and replace them 
> with a new alternative syntax.
> 
> Does anyone have a Regex that will match a url so I can pull 
> all of the urls in a doc out into an array ?
> 
> Ta
> 
> Alex
> 
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to