You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/misc/regex.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,23 @@
2
2
title = "Regex"
3
3
date = 2024-07-28
4
4
taxonomies = { tags = ["Misc"] }
5
-
updated = 2025-04-26
5
+
updated = 2025-05-11
6
6
+++
7
7
8
8
# Foreword
9
9
10
10
I've written many regexes over the years that I'd like to be able to find again...
11
11
Decided it's probably time to take note of ones I think I'll use again even if they're easy to rewrite because, sometimes when you rewrite them you bump into the same edge cases again.
12
+
Also you do know that "find and replace" in many programs supports regex right... (like vscode and Notepad++).
12
13
13
-
My favorite tool when writing regex is <https://regex101.com/>.
14
-
It makes it very easy to test and debug regex expressions and has a quick reference with all the groups and quantifiers and things I don't commit to memory.
15
-
PyCharm also has [regex expression](@/pycharm/regex/index.md) tester which is useful but I still get more value out of <https://regex101.com> as that works even when I'm not using PyCharm.
16
-
Also you do know find and replace in many programs supports regex right... (like vscode and Notepad++).
14
+
# Tools writing and understanding regex expressions
15
+
16
+
-<https://regex101.com/> - This is my favorite tool when writing regex.
17
+
It makes it very easy to test and debug regex expressions and has a quick reference with all the groups and quantifiers and things I don't commit to memory.
18
+
- PyCharm's expression tester - Built into PyCharm is a [regex expression](@/pycharm/regex/index.md) tester which is useful but I still get more value out of <https://regex101.com> as that works even when I'm not using PyCharm.
19
+
-<https://pythonium.net/regex> - Provides a graphical state machine like view of the regex supplied.
20
+
Found it good for visualizing expressions to try to understand them.
21
+
Note that there is a mini tutorial on how to use the tool lower down on the page.
0 commit comments