This is a 2 parter.
I've got an action that replaces (featuring|feat|ft) with "Featuring:"
the part I'm having trouble with is the second step of this action, which is currently this: (.+)(\WFeaturing: (.+)\W).
so the first capture group is everything before (featuring), the second is "featuring" itself (including the parentheses), and the 3rd is a sub-group of group 2 that captures everything inside the parentheses
That only works if there are parentheses, How do I set it up to work when there aren't? Will I just have to have two scripts, or is there something like an if else loop like in C?
How do I use the "Replace matches with" section in the replace with regex action?
I've tried using: (%_TAG%,$1) featuring: (%composer%,$3) and many other variants but none of them work.