changed regex expression to accept single quotes as well as double quotes