User:Tone/Regex
From The Dreadnought Project
- (?i) case insensitive
- \w digits, letters or _
- \W NOT digits, letters or _
- \s whitespace
- \S NOT whitespace
- \d a digit
- \D NOT a digit
- {1,4} matches 1-4 instances of preceding
- {1,} matches 1 or more of preceding
- {5} matches 5 of preceding