Skip to content

🔍💪 Regular Expressions for Regular Folk — A visual, example-based introduction to RegEx

Notifications You must be signed in to change notification settings

gholm/regex-for-regular-folk

 
 

Repository files navigation

Node CI

This is an experimental “book” about regular expressions. It is largely visual and example-based, as opposed to most regex resources I found while I was learning. I also attempted to choose test cases that highlight some common gotchas. I think it’ll be worth your time.

Screenshot from /chapters/escapes

This book’s intended audience is regex beginners. Some programming experience is assumed. It does not go into advanced regex concepts like engine backtracking and recursive regexes—at least not at the moment.

This is also an open source project, and contributions are welcome.

Read it online.

Printing

A single-page version of the book is available. Print it ordinarily. Make sure to enable “Print Background Colors” on Firefox and “Background graphics” (under “More settings”) on Chrome.

Contributing

Thanks for taking the initiative to contribute to REFRF! 🎉

Please check our Contribution Guide for more information.

License

Chapter content (chapters/*) is licensed under CC BY-SA 4.0.

The source code for the website is licensed under the MIT License

About

🔍💪 Regular Expressions for Regular Folk — A visual, example-based introduction to RegEx

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.9%
  • CSS 30.1%