0

Expectation: Min 6 and Max 30 characters. It can contain letters, numbers, and period( .), cannot begin and end with a period, consecutive period( . ) not allowed.

I'm trying to generate regex which is ^(?!\.)(?!.*\.$)(?!.*?\.\.)[a-zA-Z0-9_.]+$, but this is not working as expected

Bushra Saifi
  • 103
  • 1
  • 12

0 Answers0