Of course you can detect balanced parentheses using a regex try { new RegExp(input); return true; } catch(SyntaxError) { return false; }
11:45 AM - 15 Jun 2015
0 replies
4 retweets
8 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.