Regular expressions (regex) are one of those things that folks seem to make fun of most of the time because they don't understand them, or partiall...
For further actions, you may consider blocking this person and/or reporting abuse
Nice Article. Will there be more? Was thinking about writing a beginners guide myself.
I'd like to emphasize a bit more how tools like regextester.com regex101.com can be a great resource to learn by looking at the existing expressions or playing with your own ones and then hovering with your mouse over the expression to get an explanation of what's happening.
(btw: s missing in "Matering..." link at the end)
This was a one off, but if folks want to see more about regexes, I'd be happy to write some more about them. 😎
If you have a beginner's guide in mind, go for it! A different perspective on a topic can only be good for the community!
Also, thanks for catching the typo! I wrote this post late last night lol.
Would love a beginner's guide!
Fascinating how just one short comment like yours gets one out of procrastination and into being productive! :D
media.giphy.com/media/rhC8duvjyYNh...
dev.to/mktcode/regular-expressions...
I found there are already so many good resources for technical people, so I tried to write something specifically for non-technical people. Hope it works.
Hey
Thanks for the article! Great introduction!
I wanted to write it on it because I struggled to understand it at the start, but didn't how to start because it's pretty broad subject (to understand I had to learn several not intuitive concepts and make a lot of tests). Now I have some good basics. I didn't know the "+?" combination trick that's great.
The app that helped me a lot (and that you can maybe add to the resource list) is regexr.com (it's opensource!). You can even save your patterns (like this one, publish and browse existing patterns, read a cheat sheet, and the colours and interface really help to understand. I really like the "explanations on hover with selections".
Another websites that looks fun learn-regex.com and regex-one.com.
A few suggestions to enhance it:
Thanks for the feedback Samuel!
I quite like Regexper you paste in a regex and it turns it into a nice railroad diagram.
Thanks for the share Andrew!
Didn't read all, just till:
Why don't you simply use:
const reMatchThree = /\b(three)\b/g
?
I completely forgot about word boundaries while I was writing it late at night lol. I’ve updated the article. Thanks for this. 😎
GREAT Intro!
[[ Pingback ]]
This article was curated in #17th issue of Software Testing Notes .
softwaretestingnotes.substack.com/...