Hi All,
I am new to regular expressions , and trying to find a way to do a replace on function like below
myfunc(abc, 5, xyz)
myfunc(abc, xyz, 5 , xyz)
Tried a number of ways but not able to get it, i think \(([^\,]+)\ to get the content before comma should is ok, but not working unfortunately
\(myfunc((\)\(([^\,]+)\,\([^\,]+)\,\([^\,]+)
\1,\3,\2,\3
Would be great if someone could point me in the right direction