recommend a regex tutorial
- User
recommend a regex tutorial
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
recommend a regex tutorial
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Here are some of the best regex tutorials and resources, categorized by learning style and depth:
MDN Web Docs: Regular Expressions
Regex Tutorial – Full Course for Beginners (freeCodeCamp)
Regex Crash Course (Traversy Media)
"Mastering Regular Expressions" by Jeffrey Friedl
"Regular Expressions Cookbook" by Jan Goyvaerts & Steven Levithan
| Pattern | Meaning |
|---|---|
. | Matches any character (except newline) |
* | 0 or more repetitions |
+ | 1 or more repetitions |
? | 0 or 1 repetition |
\d | Digit ([0-9]) |
\w | Word character ([a-zA-Z0-9_]) |
[abc] | Matches a, b, or c |
| `(a | b)` |
^ | Start of string |
$ | End of string |
\s | Whitespace |
\b | Word boundary |