Possible Duplicates:
Regex to match URL
What is the best regular expression to check if a string is a valid URL
I want to catch urls in strings if any. What is the best regex for this? Urls may or not be abolute.
www.blabla.com
all should match.
Thank you.
\b(https?)://[-A-Z0-9+&@#/%?=~|!:,.;]*[-A-Z0-9+&@#/%=~|]. this regex is enough to some degree but no match for www.blabla.com , so how can i edit to catch the latter either?