- Regex Expression for finding a string Which Has one @ and should not start with . or end with
- ^(?=[^@]+@[^@]+$)[^.].*[^.]$
- ^([^.@]+)@([^.@]+)$
- ^([^.@]+) // Start with anything except . or @
- @ // @ must be somewhere in the expression
- ([^.@]+)$ // End with anything except . or @