I cant get this to work.
I’m trying to match A and B from [A](B), but it should only do the matching if it doesn’t start with !.
I’ve this so far.
/\[([^\]]+)]\(([^)]+)\)/
It matches A and B, but If I add [^\!] it wont match anything.
/[^\!]\[([^\]]+)]\(([^)]+)\)/
The value  can be anywhere in a larger string.
Any ideas why this isn’t working?
This works for me in TextPad (it’s all I have for regex at the moment. you’ll probably have to modify the escaping):
The
\(^\|[^\!]\)matches either the beginning of the line or a character other than!.