Modify regex for extracting strings to allow for parentheses

Fixes #2 by modifying the string extraction regex to allow for parentheses inside the string.