Online regex tester and debugger with real-time match highlighting, detailed explanations, substitutions, unit tests, benchmarking, and code generation. Support

Joined December 2011
New challenges dropped in the regex101 quiz. Can you beat them?
118
TIL V8 can keep huge strings alive through legacy RegExp last-match state. In short, a regex match can keep the entire input string alive -- even after you’re done using it. It stays allocated, adding unnecessary memory pressure, until another successful match replaces that state.
172
Since everybody loves regex so much, I’ve remade the regex quiz on the site from scratch. New and improved challenges, try it on regex101.com/quiz
1
3
189
Have you considered regex101 Pro but decided not to subscribe? What held you back? I’d love to hear what I could improve.
222
I saw this great library submission recently, and just wanted to take the opportunity to give kudos to its author, Tiago Cussiol, and share it with you all. Super detailed description, and a 560 unit test suite to back it up: regex101.com/library/0BFrkM
1
1
238
This entry also exposed a major issue in the unit tester: it was incredibly slow. This suite took over 40 seconds (!) to finish on my computer. So, naturally, I took the opportunity to improve both the UI and the engine. It now looks nicer, and finishes in 1ms on my computer.
72
Due to popular demand, we’ve added a free preview mode to the regex101 debugger! 🐛 Take it for a spin and see how your regex runs, step by step. Let us know what you think!
1
1
1
282
You can now convert regexes between flavors directly on regex101! Write your regex in the flavor you know best, then convert it with confidence to the flavor you need. 🔄
2
199
How many of you still write your regexes by hand?
2
1
241
What would you like to see in a desktop regex101 app?
1
186
How do you prefer to read the changelog? Should I try to categorize it, or just keep the numbered list?
1
1
197
Replying to @neo_subhamoy
regex101 is keeping the entire software industry running tbh
1
2
102
There are two "ana"s in "banana". 🍌 /ana/g only finds one. /(?=(ana))/g captures both. The trick: a lookahead checks ahead without consuming characters, so overlapping captures are possible. #regex #JavaScript
1
10
281
Replying to @charlotteba22
100%! Regex101 has saved so many developers from endless headache.
2
2
136
Have you ever saved work on regex101 without signing in? You can now recover it from the browser where you saved it and add it to your account. Manage and organize it from any device -- all for free! Look for “Recover local workspaces” on your account page.
138
Replying to @1Y8__
Regex101 has saved me hours of pain.
1
1
99
regex101 becomes even better with an account, but most users never sign in. What's stopping you from signing in?
1
1
225