Modified regex to account for either single or double quotes.