rule
const <rule name> = /<rugular expression>/
pick
-
pick for strings that comply with the rules and ruturn boolean
<rule>.test(<test string>) -
search for string that complay with the rules, find ruturn array else return null
<rule>.exec(<test string>)
replace
<string>.replace(<rule>,<string>)