Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3886

Regex assistance to match two conditions

$
0
0

I’m trying to confirm that a password contains at least one Capital Letter and One Number. The following search pattern works when it finds a number, but isn’t catching the lack of capital letter.

Thanks for your Regex-pertise!

rg.SearchPattern = "^(?=.*[A-Z])(?=.*\d).+$"

8 posts - 5 participants

Read full topic


Viewing all articles
Browse latest Browse all 3886

Trending Articles