I have found very similar posts, but I can\'t quite get my regular expression right here.
I am trying to write a regular expression which returns a string which is b
.*
There's really no need for the lookahead.
> /cow(.*?)milk/i.exec('My cow always gives milk'); ["cow always gives milk", " always gives "]