"For the love of money is the root of all evil..."
-- King James Bible, 1 Timothy 6:10
Cover image by msandersmusic from Pixabay
The above ...
For further actions, you may consider blocking this person and/or reporting abuse
The best way to get better at regexes is to use them - practice, practice, practice! So what's the best way to give yourself the opportunity to practice?
Here are some ideas:
Use a text editor that supports making changes using regexes, for instance
vim
ored
. By forcing yourself to use regexes for all text changes you get the basics down pretty quickly.Use tools like
sed
andgrep
on the command line at every opportunity. Both are driven by regexes.The cost of this approach is that you will suffer an initial hit on productivity. But it will pay off on the end.
sed
andgrep
are fantastic tools! 100% recommended!It is a great one stop shop for regex....thank you for making the effort.
Thank you for reading!
Very nicely written Andrew. Goes straight to my reading list for future reference
Happy to hear that, Prashant! Thanks for reading!
stackoverflow.com/a/1732454/5868894
A classic
Regex-schmegex, is that a screenshot from Dusk?
No it's not, I remember it prettier than it actually is.
steamcommunity.com/sharedfiles/fil...
Yeah the photo is of the chapel at Thanks-Giving Square in downtown Dallas, TX.
Great article. I'd have liked the answers to be visible in the post itself, rather than as outbound links. Suggestion for next time maybe :D
what about this for step 18 last problem
/(?! )([1-9][0-9]{0,}.[0-9]{1,})(?!%)/gm
is there a good website to practice the RegEx from neutral point of view not programming language as I am not a programmer but sometimes I need RegEx to look into log files and filter them
Firstly, thanks for this nice article. However, in step 6 pop quiz, the answer for years between 1977-1982 is wrong. Because it also matches with 1987, etc.