Hey, guys,
I just finished the regular expressions challenges and I found it is very hard for me to reason about them, even with the help of regex101.com; I had to appeal to the hinted solution in the harder challenges.
It is evident to me I need to practice a lot more. Do you know of any other website with some challenges I could do to improve my understanding of regular expressions?
Thanks in advance
Hackerrank has a few challenges: https://www.hackerrank.com/domains/regex
One site that looks rather interesting is Regex Crossword which goes from the opposite end: you get regexes and try to write a string that matches them.
In the end, it’s hard to beat real life as practice goes. I learned regexes through first being a unix sysadmin, then by writing anti-spam rules.
You should try Regexr. This is what I used when I wanted to learn regular expressions. You should be able to learn enough in the course of one or two days to be fairly proficient with regular expressions:
https://regexr.com/