regex to check if text is in quotation 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