Regex Expression for finding a string which has one @ and should not start with . or end with . Meaning hello@Same is valid .hello@Same, hello@Same. and hello@sdj@same are all invalid
What is the problem in (^([^@]+)@([^@])+$)(^[^\\.].*$)(^.*[^\\.]$).
All these three parts work individually but when we put together doesn't work