In C# I am using this regex:
string pattern = @"(?<!"")\:([^\:]*)\:";
and it is working fine but when I try to use it in JavaScript it gives Syntax error:
var pattern = /(?<!"")\:([^\:]*)\:/g;
Can you let me know the issue with that regex with JavaScript?
?<!...)