| 
 | 
 
For example: I return a string from the background: '(?: <Script. *?>) ((\n |\r |.) *?) (?: <\/ script>)' 
   But in Javascript, the way we use Javascript is: 
   var reg = /(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/, then use the reg test method. . But I don't know how to use strings. . 
   So please ask, heroes |   
 
 
 
 |