Sami Posted November 23, 2010 Share Posted November 23, 2010 Hi.I wish to remove all URL adresses from the output from a database.How can I do that? Link to comment Share on other sites More sharing options...
thescientist Posted November 23, 2010 Share Posted November 23, 2010 huh? Link to comment Share on other sites More sharing options...
boen_robot Posted November 23, 2010 Share Posted November 23, 2010 With regular expression replacement on the output. Match all URLs, and replace them with... nothing (an empty string).What regex to use? That's a tough one... google it, and you'll find several solutions, none perfect. Link to comment Share on other sites More sharing options...
Sami Posted November 23, 2010 Author Share Posted November 23, 2010 I hate using Google when I don't know what words to search for... Link to comment Share on other sites More sharing options...
Fmdpa Posted November 23, 2010 Share Posted November 23, 2010 Try this link...Here's one, I haven't tried it though:((https?|ftp|gopher|telnet|file|notes|ms-help):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+-=\\\.&]*) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.