Solution Review: Password Checker
Solution to RegEx exercise in JavaScript
We'll cover the following...
Solution
The solution requires a series of RegExes to test each condition so that when all conditions pass, we return True
or otherwise False
. Use the test
method to conveniently check if a string matches with a certain RegEx.
For each condition, use the following RegExes.