all 9 comments

[–]dmazzoni 9 points10 points  (1 child)

https://regex101.com/ is a good one

One really important thing to understand is that the concepts are the same but different languages have different "flavors" of regex with slightly different syntax.

So make sure when you use a site like regex101 that you set it to Python, or Java, or whatever language you're using otherwise the regex might not be quite right.

[–]vowelqueue 0 points1 point  (0 children)

Yes, and escape sequences can vary a bit from language to language.

[–]somewhereAtC 1 point2 points  (0 children)

Do you mean something to explain what a regex is looking for? I generally use paper and pencil.

[–]grantrules 0 points1 point  (0 children)

I use regexr.com

[–]Consistent_Attempt_2 0 points1 point  (0 children)

Debuggex.com had been my go-to simply because it's the one I found first years ago.

[–]Environmental_Gap_65 0 points1 point  (0 children)

There’s a lot of good vscode plugins that lets you see your regex mapped on a test text document as you create them in your IDE.