When I try to isolate the value "Some Value" from the string below using the lazy quantifier .*? I don't get any match.
Code: Select all
var str = 'Some Value / Some Other Value / Yet Another Value /';
re = /(.*?)\s\//;
job.log (-1, re.search(str) );
job.log (-1, "cap: " + re.cap(0) );
Thanks.
Jim