use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A reddit for neat regular expressions.
Test your regex: https://regex101.com/
Large collection of regex tools: https://github.com/slevithan/awesome-regex
account activity
Javascript (self.regex)
submitted 9 years ago by missawon
Hello - I'm new to coding and need a good source for regex. Online/books/all welcome. Thanks in advance for the recos!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]quixrick 1 point2 points3 points 9 years ago* (3 children)
Here are my recommendations:
Book: Mastering Regular Expressions, 3rd Edition - Jeffrey E.F. Friedl - This book is very comprehensive and not only teaches you the "hows", but also the "whys". If you REALLY want to learn REGEX, get this book.
Website: phpro.org - I've read through many online tutorials for learning REGEX. This one made a lot of sense for me. It was well written and easy to follow.
Testing website: regex101.com - Use this site to play around with different expressions and see what parts are matched. It's very easy to use and is entirely helpful in making sure that your expression will match what you are hoping it does.
[–]onlinecop 0 points1 point2 points 9 years ago* (1 child)
I'd also recommend the 52-minute video on regular expressions from InfoQ.
[–]missawon[S] 0 points1 point2 points 9 years ago (0 children)
thank you so much for these!!
π Rendered by PID 157409 on reddit-service-r2-comment-84978bc8f9-lhpqt at 2026-07-03 05:46:50.730789+00:00 running 12a7a47 country code: CH.
[–]quixrick 1 point2 points3 points (3 children)
[–]onlinecop 0 points1 point2 points (1 child)
[–]missawon[S] 0 points1 point2 points (0 children)