Question
Get the searching result of a RegEx search
Hi, I have a RegEx search which does something like this:
var k = new RegExp('myRegExpression');
if(myText.match(k)){
do something..
}
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