regex match all dots and slashes between quates code example Example: regex to get items between quotes (["'])(?:(?=(\\?))\2.)*?\1