I have been stuck with this regex issue for a long time now. I have the following string.
[{"op": "replace", "path": "/endDate", "value": "#{$PurchaseOrderExtensions.findOne(_extid).getEndDate().toString()}"}] I am totally confused how to extract the word _extid which is within the round brackets. The confusing part is that there are many round brackets. I need to extract only the one after the occurrence of findOne.
I tried the following regular expressions but none of them even matched the string to extract the one after findOne.
/\{(\(\w+\))\}/? /\\((\\w+)\\)/? and many more... What mistake am I doing here?
evald later or some kind of dynamic execution.