Skip to content

Tag: string

Regular Expression: match word in a blank of a sentence

I have the following line: I _ foo and _ I want to match anything (case insensitive) that matches the text and has a words that replace the underscores e. g. So in this case I want to get the whole sentences back: [“I want foo and bar”, “I implemented foo and foo”, “i use Foo and…