shortysbest Posted August 4, 2011 Share Posted August 4, 2011 I'm trying to detect Urls with or without http:// this detects with: /\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[A-Z0-9+&@#\/%=~_|]/ Link to comment https://forums.phpfreaks.com/topic/243761-regexp-to-mattch-urls-with-or-without-http/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.