Using JavaScript regular expressions, how can I match the contents in the last set of brackets?
input = "the string (contains) things like (35) )( with (foobar) and )( stuff";
desired_output = "foobar"
Everything I have tried over-matches or fails entirely. Any help would be appreciated.
Thanks.