Anonymous Anonymous - 10 months ago
338 0

regexp

Javascript

regexp kadu

var regexp = /'url': '(.*)', '/;
var str = $(document).text();
var matches = str.match(regexp);
console.log(matches);
copy(matches[1]);