E
E
Evgeny Makov2019-04-24 08:18:48
Regular Expressions
Evgeny Makov, 2019-04-24 08:18:48

How to escape double quotes in re2 from GoogleDocs?

I'm trying to escape double quotes in a regular expression in GoogleDocs and it doesn't work.
Text in cell A1 = ooo "test"
My formula:
=REGEXEXTRACT(A1;"\"(.*)\"")
GoogleDoc considers that I open and close the argument with quotes, no matter how I escape them.
The re2 library is used there

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Makov, 2019-04-24
@ezhmkv

=REGEXEXTRACT(A1, "[""]+(\w*)")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question