My file consists of the following text
one bone stone cuttlebone minestrone cornerstone
and I want to select all instances of
stone, so I get the following highlighted text:
one BONE STONE cuttleBONE minestrone cornerSTONE
NB: capitals indicate highlighted text since I can't format in code.
I have tried the following search patterns, but none of them work
/bone|stone /[st|b]one /[\(st\)b]one /[bst]one /[b(st)]one
The problem is
bone are different lengths, and I don't know how to match to two different length options.
How can I match all instances of
bone in my file?