Detect a hyperlink in a text - jQuery <p>I have a plain text, say, <code>"Hello how are you, please visit 'http://google.com'"</code>. </p> <p>I am displaying this in a div using jQuery (this text is being randomly generated). My question is, is there any way that I can detect that "http://google.com" in the text is a hyperlink and thereby convert that part of the text in to a clickable hyperlink?</p> <p>Thanks. </p>