Helpful Information
 
 
Category: Regex Programming
Parse $ for URL's

Hello, I need to parse a string for URL's beginning with http:// and ending with a whitespace, but I can't get it to work ...

This

http:\/\/(.*)\s|$

doesn't work when the URL is at the end of the string and it's the best I could come up with ...

Any help will be appreciated!
jwm

As so often, as soon as you post the question, something comes up. This seems to work:

http:\/\/([^\s]+)










privacy (GDPR)