{"ScriptPreparationCode":"var str = \u0027https://www.testsite.com/some-path/another-path/2019/my-amazing-page-name.html\u0027;","TestCases":[{"Name":"Regex 1","Code":"str.replace(/^(.*[\\\\\\/])/, \u0027\u0027);","IsDeferred":false},{"Name":"Regex 2","Code":"str.replace(/([^\\/]\u002B)(?=[^\\/]*\\/?$)/, \u0027\u0027);","IsDeferred":false},{"Name":"Split","Code":"str.split(\u0027/\u0027).pop();","IsDeferred":false},{"Name":"Substring","Code":"str.substring(str.lastIndexOf(\u0027/\u0027)\u002B1);","IsDeferred":false}]}