0

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.

https://regex101.com/r/nBL5rg/2

user3525290
  • 1,557
  • 2
  • 20
  • 47

0 Answers0