Skip to main content
spelling in title
Source Link
Cœur
  • 39k
  • 25
  • 207
  • 282

Regex for 1 uppercase 1 special character and 1 lowecaselowercase

Hi I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/ this but this is restricting some special character.

Regex for 1 uppercase 1 special character and 1 lowecase

Hi I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/ this but this is restricting some special character.

Regex for 1 uppercase 1 special character and 1 lowercase

I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/ this but this is restricting some special character.

Post Closed as "Duplicate" by ergonaut, Thomas Ayoub, Toto regex
Included regex to code section
Source Link
Ashwin
  • 455
  • 3
  • 7
  • 15

Hi I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/ this but this is restricting some special character.

Hi I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,} this but this is restricting some special character.

Hi I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/ this but this is restricting some special character.

regex Regex for 1 uppercase 1 special character and 1 lowecase

Hi I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried

/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,} 

/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,} this but this is restricting some special character.

regex for 1 uppercase 1 special character and 1 lowecase

Hi I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried

/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,} 

but this is restricting some special character.

Regex for 1 uppercase 1 special character and 1 lowecase

Hi I need a regex for 1 uppercase 1 special character and 1 lowercase Note need to allow all special character and it should be above 8 character in length.

I have tried /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d@$!%*?&]{8,} this but this is restricting some special character.

added 7 characters in body
Source Link
Thomas Ayoub
  • 29.6k
  • 16
  • 98
  • 149
Loading
Source Link
Ashwin
  • 455
  • 3
  • 7
  • 15
Loading