in reply to Re: regex issue
in thread regex issue

There's a problem with your code: It will give a false positive if you have a name which is identical to part of a shorter name

(for instance: John Smith would match, even though the name in the file is John Smithers).