How to get everything inside quotations regex code example Example: regex to get items between quotes (["'])(?:(?=(\\?))\2.)*?\1