src code
String#extractScripts() → Array
Extracts the content of any script blocks present in the string and returns them as an array of strings.