I want to filter specific words.
These word are legal and should be found:
J.Doe (One charater in the first place, a dot in the second place followed a sequence of characters)
J.Doe-Doe (contains a "-", no matter in which place)
These not e.g.:
J.Doe1 (a sequence of characters with a number)
JDoe (a sequence of characters without a dot in second place)
1234 (a sequence of numbers)
I am new in Regex and don't know how to create a proper formula.
Thank you very much in advance for your help.