I have the following regular expression
^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$
Which validates that the expression has uppercase, lowercase and numbers,
What I haven't been able to add are optional special signs try with
^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]?[.]{8,}$
in theory the ?
should be optional, I'm pretty new to this regex, I appreciate any help