I need to extract URL from a text using jquery.
Lets say i have sowhere on the page following textarea code
jQuery won't do this, you're looking for a regular expression to extract the URL from the 'url' property in this textarea. You can do this with the following regex:
/url = \{(.+)\}/.exec(textarea_str)[1]