Bring me, I'm new to regular expressions, so my syntax may be a little broken.
Here is my expression:
"(?:\\s*[\"]?[']?\\s*)"
This means: any number of spaces, then the possibility of a double quote, then the possibility of a single quote, then any number of spaces.
The problem is that this is the same anyway, even if there is no double quote or single quote.
How do I make my expression so that there must be at least 1 double quote OR at least one single quote?
source share