regex get everything between quotes code example
Example 1: regex to get items between quotes
(["'])(?:(?=(\\?))\2.)*?\1
Example 2: regular expression match text between quotes
(["'])(?:(?=(\\?))\2.)*?\1
(["'])(?:(?=(\\?))\2.)*?\1
(["'])(?:(?=(\\?))\2.)*?\1