-1

Why the following REGEXMATCH results FALSE?

=REGEXMATCH("aaa E: 111 111 bbb"; " E: ([\d\s]+) bbb")

How should I fix it?

1

It seems, the "aaa E: 111 111 bbb" string had special character instead of space. When I replaced the space in "111 111" the result became TRUE.

So it was a special character instead space, this is why the formula was FALSE originally.

Problem solved.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.