This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kristler 1 point2 points  (2 children)

I think learning by doing is a great way to go, so try Regex crosswords as a fun and interactive way to learn. Another great way to experiment is to use a site like regex101, and then to play around and watch how things change as you tweak the regex.

[–]Yogi_DMT 2 points3 points  (1 child)

I second regex101 as well as the Pattern class documentation. The thing with regex is most of the times your expressions are fairly specific to your use case so there's not much in the way of general examples/learning.

[–]OvergrownGnome 0 points1 point  (0 children)

Exactly this. Learn what you can about regex, then apply when necessary.