Formal method of specifying particular characters, words or character standards. Made for searching, replacements, validations, filtering, etc..
/(http:\/\/)?(www\.)?\w+\.\w{2,}(\.\w{2})?/g
It's like magic, when you find out how to do it, it's even embarrassing
This vs code plugin helps executing regex in any language
Executing Regex
- JS functions
- Flags
Characters
- Meta characters
- Literal text
- Dot
- Spaces
- Pipe
- Accents
Joints
- Joint
- Intervals
- Joints with goals
- Shortcuts
- Negated
Quantifiers
- Quantifiers
- Optional (Zero or one)
- One or more
- Zero or more
- Braces
- Greedy
Groups
- Groups
- Rearview mirrors
ps: the previous topics refer to file names