πŸ”—Β In search of the perfect URL validation regex

Best β€œbang for the buck”: @^(https?|ftp)://[^\s/$.?#].[^\s]*$@iS Best exhaustive solution: https://gist.github.com/dperini/729294 really impressed with @stephenhay 's REGEX solution (38 characters) to match damn well near all URL possibilities https://t.co/8wuyg4qYVD β€” Patrick Coombe β™’ (@patrickcoombe) August 7, 2015 Source: In search of the perfect URL validation regex TODO: Consider moving to snippets?

August 10, 2015 Β· 1 min Β· 50 words