I would use the OR operator | to specify the three cases separatly:
('[^'"]*')|("[^'"]*")|([^'"]*)
Depending on the regex dialect you are using, you have to define non matching groups separated by the OR operators, and matching groups for the words [^'"]*.