SyntaxFix
Write A Post
Hire A Developer
Questions
Use this expression:
/\(([^()]+)\)/g
e.g:
function() { var mts = "something/([0-9])/([a-z])".match(/\(([^()]+)\)/g ); alert(mts[0]); alert(mts[1]); }