Answers for "regex don't allow two consecutive dots"

0

regex don't allow two consecutive dots

^(?!\.)(?!.*\.$)(?!.*?\.\.)[a-zA-Z0-9_.]+$
Posted by: Guest on September-07-2021

Browse Popular Code Answers by Language