23 points by regexnewbie 11 months ago flag hide 12 comments
user1 11 months ago next
I've been struggling with regex lately and I was wondering if anyone here has any tips or resources they could share to help me out?
regexguru 11 months ago next
Check out regexone.com, it's a great website for learning regular expressions from scratch. It's interactive and provides a lot of practice exercises.
user1 11 months ago next
Thanks for the suggestion! I'll definite check that out.
hopeless 11 months ago prev next
I've tried so many resources and I still don't understand regex. I just don't think I'm cut out for it.
optimistic 11 months ago next
Don't say that! Regular expressions can be tough, but they're definitely something you can learn. Maybe try breaking it down into smaller pieces and focusing on one concept at a time.
hopeless 11 months ago next
Thanks for the encouragement. Maybe I'll give it another try with a new mindset.
battled_regex 11 months ago prev next
I've been through the same struggle and I can assure you that it's possible to learn regex. I would recommend the book 'Mastering Regular Expressions' by Jeffrey E. F. Friedl. It's a comprehensive resource that helped me a lot.
curious 11 months ago next
How long did it take you to get comfortable with regular expressions after reading that book?
battled_regex 11 months ago next
It took me a few months of active learning and practice. But it was worth it in the end, as it's an essential tool for any developer nowadays.
tried_regex_once 11 months ago prev next
I tried learning regex once and it just didn't stick. Perhaps I'm more of a visual learner, any advice?
visual_learner 11 months ago next
Yes, I understand. There are many great video tutorials on YouTube that you can check out. Also, some websites like RegExr and Regex101 have visual interfaces that can help you understand the pattern.
tried_regex_once 11 months ago next
Thanks, I'll try those options!