I have string Put a "string" between double quotes. I have regex ".*"
Why it matches only "string" and not "string" between double quotes ?
I see step by step execution of as:
- Regex part
"means: find first"in string. - Regex part
.*means: find any symbols afterwards in any count.
I see that ".*" ends with ". But it is before .* and by logic everything after .* should just be ignored and every symbol should be matched ( .* stands for match any symbol any times). So can you please explain step by step execution of ".*" on Put a "string" between double quotes string?