regex to check if text is in quotations code example Example: regex to get items between quotes (["'])(?:(?=(\\?))\2.)*?\1