Xicheng Jia wrote:
> You can surely use alternations to append three other
cases..and to
> make sure all four conditions are satisfied:
>
=> ^(?=.*?[a-z])(?=.*?[A-Z])(?=.*?\d)(?=.*? $#!)[\w $#!]$
sorry for the typo, forgot to change to the class-set when
copying/pasting.
from
(?=.*? $#!)
to
(?=.*?[ $#!])
Xicheng
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regex googlegroups.com
To unsubscribe from this group, send email to
regex-unsubscribe googlegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---
|