So I need to find a regex to parse a few different cases with the same regex.
Type(arg1, arg2, ...) (the number of args is variable)
Type(arg1 + arg2) or Type(arg1 - arg2) or (lets just say that it can take really any form)
arg1 + arg2
You can use a regex like:
Update: if you pattern can take whatever form, then you can use this pattern:
The idea is to match whatever thing except parentheses, commas and new lines