I need to extract url from text using jquery.
Lets say that I have sowhere on the page following the textarea code
<textarea rows="20" name="textarea" style="width:100%;"> @techreport{blabl, blabla = {}, url = {http://server.com/thepdf.pdf}, wrongurl ={http://server.com/thepdf2.pdf}, blablabla = 1998, blablablabla= {blablablablabla}} </textarea>
I need url and only url content is not misurl.
Update: it always has the same structure, and I only need to extract it ONCE, and it always has "url = {" in front of it.
jquery url extract
Timur
source share