Home > front end >  JS string parsing multilayer nested parentheses
JS string parsing multilayer nested parentheses

Time:12-09

Please answer!!!!!! Bosses know in any way to parse the string string below, get the contents of the each layer brackets
 ID=111 AND ((first_name='JIM' OR first_name='DAN') AND (last_name='BROWN' AND (last_id=222 OR last_age=22)) 
  • Related