1.Match a string enclosed by double quotes (strings with escapes, no line break) "[^"\\\r\n]*(?:\\.[^"\\\r\n]*)" 2.Match a string enclosed by single quotes (strings with escapes, no line break) '[^'\\\r\n]*(?:\\.[^'\\\r\n]*)' 3.Match a string enclosed by single or double qutoes (strings with escapes, no line break) "[^"\\\r\n]*(?:\\.[^"\\\r\n]*)"|'[^'\\\r\n]*(?:\\.[^'\\\r\n]*)' 4.Match a string enclosed by double qutoes (strings with escapes, may have escaped line break) "[^"\\\r\n]*(?:\\(?:.|\r?\n)[^"\\\r\n]*)" 5.Match a string enclosed by double qutoes (strings with escapes, may have line break) "[^"\\]*(?:\\.[^"\\]*)*"