Hi, I have a RegEx search which does something like this:
var k = new RegExp('myRegExpression');
How can I get the searching result of my RegExp via scripting?
From within Indesign, I think this value is returned by the expression "$0"
Thanks in advance
var myRes = '123123'.match(/1/g) //->['1','1'] == array
What ever you wanna do on that Result ...
Thanks, very helpful