Simple, universal and short regex to find quoted strings. Invalid quotes inside string ignored. flag s (single-line) allows to find multiline strings
'string in simple quotes'
"in double-quotes"
in back-quotes
"Works good with symbols ' or " or ` inside the string"
"All another type quotes "' inside string are ignored" use something like \ or \" or \'
" Matches only identical quotes on string start and end ' // regex can`t find this...
Submitted by V. Martian - 5 years ago