How to Extract URL from the Text with javascript - by user356369 Eg: Google site http://www.google.com output: http://www.google.com Eg: Yahoo site www.yahoo.com output: www.yahoo.com Read the article