I have the following REGEX that checks for a pattern like (alpha and decimals only):
abc.def
abc.def.ghi
The pattern is:
^[a-zA-Z.]*$
What I need to do is make sure there are no leading or trailing decimals. So something like this would be illegal:
.abc.def
abc.def.
like this:
I test against your example and it works.