Looks like this isn't a valid regex, at least not in JavaScript. Unmatched ')' apparently.
Also, it looks like you haven't escaped a few of the square brackets. For a literal square bracket you have to add a backslash before it: \[, \]. Hope this helps.
Looks like this isn't a valid regex, at least not in JavaScript. Unmatched ')' apparently.
Also, it looks like you haven't escaped a few of the square brackets. For a literal square bracket you have to add a backslash before it:
\[
,\]
. Hope this helps.