SHARE
TWEET
Untitled
a guest
Jan 14th, 2016
46
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- var scripttext = url;
- var re = /{([\s\S]*?)}/gm;
- var match;
- while (match = re.exec(scripttext)) {
- // full match is in match[0], whereas captured groups are in ...[1], ...[2], etc.
- console.log(match[1]);
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
