how to capture any word in between quotes regex code example Example: regex to get items between quotes (["'])(?:(?=(\\?))\2.)*?\1