Text & Regex

Find, match, transform — strings made simple

Regex tester with live capture groups, text case converter, slugify, diff checker. Click-to-explain the regex so you understand what you wrote, not just that it ran.

8 tools

Choosing between these tools

These four cover the text chores that sit between writing and shipping: comparing two versions, testing a pattern, changing case consistently, and turning a title into a URL segment.

The regex tester is the one worth slowing down for. Flavours genuinely differ — JavaScript only allows fixed-width lookbehind, and \\d matches non-Latin digits under Unicode rules in some engines and not others — so a pattern proven in one language is not proven everywhere. The tester also makes catastrophic backtracking visible: a pattern like ^(a+)+$ explores an exponential number of paths and will hang a server given the right input.

Slugify and the case converter look trivial until non-English text arrives. Transliterating accents, deciding what to do with an em dash, and collapsing repeated separators are exactly the details that produce two URLs for one article. The diff checker works line by line and is useful for config files and prose alike.