I'm trying to screen double quotes in regular expression on Google Sheets and there's no luck.
A1 cell text = some "name"
My formula
=REGEXEXTRACT(A1;"\"(.*)\"")
But Google Docs thinks that i'm using quotes for open /close argument. Please help.
Library that GoogleDocs using for regular expressions is re2
You need to escape a doublequote "
with another doublequote like this ""
.
Try using this,
=REGEXEXTRACT(A1,"""(.*)""")
Verified and this works well.
=REGEXEXTRACT(A1; "[""]+(\w*)")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With