trying to match anything width and including two brackets e.g. [[match this]] so I can replace without brackets.
[[match this]]
here is what I have as far var regex = /([[|]])w+/g;
var regex = /([[|]])w+/g;
However this matches the above like this [match
[match
Any help would be appreciated
Aucun commentaire:
Enregistrer un commentaire