W3School: REGEX - Reference Link
function learnPattern(){
pattern = /E00/gi;
pattern = /[abc]/gi;
pattern = /[^abc]/gi;
pattern = /[a-d]/gi;
pattern = /[^a-d]/gi;
pattern = /[a-zA-Z]/;
pattern = /[a-zA-Z]ism/gi;
}
Quick Reference
Example:
ย