Take single and double quotes into consideration