Use regex for stripping quotes
Minor code style improvement