Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Regular Expressions

How did you learn regular expressions?
I never took the time to understand it properly.
It is so powerful and embedded so far across tech stacks. What is the best way to learn?
[Image: zMpMcDB.png]
I've learned over a tryhackme room : https://tryhackme.com/room/catregex but I don't know if this one is part of the free or premium plan

However, to be honest, I use regex so rarely that I've forgot 90%. And when I need I go with an LLM... (shame)

EDIT : to learn and practice you can go with an LLM, you take notes, and then ask for exercices / challenges / cases.
https://regex101.com/ - then just lots, and lots. Also, lots. of reading.
[Image: 3.gif]
(Sep 27, 2026 08:19 PM)Bastille Wrote:  I've learned over a tryhackme room : https://tryhackme.com/room/catregex but I don't know if this one is part of the free or premium plan

However, to be honest, I use regex so rarely that I've forgot 90%. And when I need I go with an LLM... (shame)

EDIT : to learn and practice you can go with an LLM, you take notes, and then ask for exercices / challenges / cases.

Okay I will try AI. Regex is used so much in scripting, programming, operating systems.

(Sep 27, 2026 09:52 PM)Terry A. Davis Wrote:  https://regex101.com/ - then just lots, and lots. Also, lots. of reading.

That site doesn’t teach anything I think it’s just an application. So find a book to read?
[Image: zMpMcDB.png]
(Sep 28, 2026 06:12 AM)Raijin Wrote:  Okay I will try AI. Regex is used so much in scripting, programming, operating systems.


That site doesn’t teach anything I think it’s just an application. So find a book to read?

I make extensive use of their quick refernce. I would say just find practical reasons to need to use it, then learn how you use it to solve that, and experiment.
[Image: 3.gif]
(Sep 28, 2026 02:39 PM)Terry A. Davis Wrote:  I make extensive use of their quick refernce. I would say just find practical reasons to need to use it, then learn how you use it to solve that, and experiment.

I purchased a book from the bookstore about the commands I want to use and it explains about regular expression too.
[Image: zMpMcDB.png]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by riu41776Nov 3, 2020 04:35 PM 21 995 Nov 3, 2020 04:35 PM
Last Post: JoshuaSmith
[C#] by MavenGradleDec 31, 2019 06:21 AM 12 538 Dec 31, 2019 06:21 AM
Last Post: Suspect.
[C#] by realsunjesterApr 30, 2019 05:21 PM 27 982 Apr 30, 2019 05:21 PM
Last Post: realsunjester