Help is asked for, with two Regex expressions
Posted: Sun Jan 31, 2016 12:48 am
/[{}[\]^]+/g,
The above Regex expression is copied from a javascript function and need to eliminate the global search for open and close square braces. [] and leave the other parameters. I can only recognize the close brace but not the open.
/[{}[\]^]+/g,
In reverse, I need a Regex expression in which ONLY the open and close square braces. [] are searched for regardless of their position.
Thanks in advance for any help.
The above Regex expression is copied from a javascript function and need to eliminate the global search for open and close square braces. [] and leave the other parameters. I can only recognize the close brace but not the open.
/[{}[\]^]+/g,
In reverse, I need a Regex expression in which ONLY the open and close square braces. [] are searched for regardless of their position.
Thanks in advance for any help.