I have a password field where I need a validation with following rules:
- It should be alphanumeric
It should not allow only characters or numbers
<p> <mdl-textfield label="Password" type="password" formControlName="password1" floating-label pattern="[a-zA-Z0-9]+$" error-msg="Please provide an alpha-numeric password" ></mdl-textfield> </p>
How should I write my pattern?