Regex Equivalent of "word1ASTERISKword2
", where word1
is the start of a sentence, word2
is the end of the sentence, I use this "word1ASTERISKword2
" in MS Excel.
I want to know that is the regex match to this?. I have already tried ^word1(.*)word2$
. Not working.