{"ScriptPreparationCode":null,"TestCases":[{"Name":"parse","Code":"let a = \u0027{\u0022type\u0022:\u0022discussion-post\u0022,\u0022action\u0022:\u0022created\u0022,\u0022url\u0022:\u0022https://lost-cities-keeper.fandom.com/f/p/4400000000000277948/r/4400000000002061507\u0022,\u0022userName\u0022:\u0022AnonymousWikiEditor\u0022,\u0022snippet\u0022:\u0022Omg I screamed when Ariana posted the engagement\u2026\u0022,\u0022size\u0022:66,\u0022category\u0022:\u0022Off-Topic\u0022}\u0027;\r\nlet b = JSON.parse(a);\r\n console.log(b.url);","IsDeferred":false},{"Name":"split","Code":"let a = \u0027{\u0022type\u0022:\u0022discussion-post\u0022,\u0022action\u0022:\u0022created\u0022,\u0022url\u0022:\u0022https://lost-cities-keeper.fandom.com/f/p/4400000000000277948/r/4400000000002061507\u0022,\u0022userName\u0022:\u0022AnonymousWikiEditor\u0022,\u0022snippet\u0022:\u0022Omg I screamed when Ariana posted the engagement\u2026\u0022,\u0022size\u0022:66,\u0022category\u0022:\u0022Off-Topic\u0022}\u0027;\r\nlet b = a.split(\u0027\u0022url\u0022:\u0022\u0027)[1];\r\nb = b.split(\u0027\u0022,\u0022\u0027)[0];\r\nconsole.log(b);","IsDeferred":false},{"Name":"regex","Code":"let a = \u0027{\u0022type\u0022:\u0022discussion-post\u0022,\u0022action\u0022:\u0022created\u0022,\u0022url\u0022:\u0022https://lost-cities-keeper.fandom.com/f/p/4400000000000277948/r/4400000000002061507\u0022,\u0022userName\u0022:\u0022AnonymousWikiEditor\u0022,\u0022snippet\u0022:\u0022Omg I screamed when Ariana posted the engagement\u2026\u0022,\u0022size\u0022:66,\u0022category\u0022:\u0022Off-Topic\u0022}\u0027;\r\nlet regexp = /\u0022url\u0022:\u0022(https:\\/\\/.*?)\u0022/g; \r\nlet b = regexp.exec(a)[1];\r\nconsole.log(b);","IsDeferred":false}]}