You can run the Javascript regex inside
-
executeScript (latest ECMAScript 6, runs inside Chrome) => regex example
-
and/or executeScriptSandbox (ES5 JS only but no open website needed).
See also: How can I apply regex to a given variable? - #4 by newuserkantu