I wrote a regex where I want to skip .do
string but allow .doc
string.
What I have is \.do
. However it also skips .doc
files. Is there away to only capture .do
and ignore strings that contain .doc
or .docx
so \.do
should match mike.do
but not mike.doc
Currently it matches both.