Home > Enterprise >  Extract complete string containing 'xxx' between two spaces
Extract complete string containing 'xxx' between two spaces

Time:04-29

I want to know if there is a formula to extract a complete string containing 'xxx' between two spaces.

For example: example sheet

CodePudding user response:

use:

=ARRAYFORMULA(IFNA(REGEXEXTRACT(A1:A; "\[\S*xxx\S*\]")))

enter image description here

  • Related