You need a regex to validate email addresses, extract timestamps from log lines, or parse a CSV field that sometimes contains quoted commas. You write a pattern, test it against one sample string in your code, discover it fails on an edge case, tweak it, rebuild, test again. Each iteration takes 30 seconds of compile-run-check, and most regex patterns need five or six iterations before they work reliably.
The alternative is regex101.com — an excellent tool that shows matches in real time, explains each part of the pattern, and lets you test against multiple inputs at once. But it runs in a browser, which means you are pasting your test data (log lines, user records, API responses) into a public website. And you need an internet connection.
Why Live Feedback Matters for Regex
Regular expressions are dense by nature. The difference between .* and .*? (greedy versus lazy) can change whether your pattern matches one line or an entire file. Lookaheads, character classes, and capture groups interact in ways that are hard to reason about in your head. Seeing matches highlighted as you type the pattern transforms regex from guesswork into a visual, iterative process.
This is why browser-based testers are so popular — they provide the feedback loop that writing regex in source code does not. The problem is that they require a browser, an internet connection, and trust that your test data stays private.
Test Regex Locally on Your Mac
Bellows includes a regex tester as one of its 41 developer tools. Type your pattern, paste your test string, and see matches highlighted in real time. Adjust the pattern and the results update instantly — no compile step, no page reload, no network request.
Common Patterns Made Easier
Extracting dates from log files (\d{4}-\d{2}-\d{2}). Validating phone numbers with optional country codes. Matching URLs in freeform text. Parsing structured data like CSV or TSV where fields may be quoted. These patterns are simple in concept but tricky in edge cases — and a live tester lets you catch those edges before they reach production.
No Data Leaves Your Mac
If your test data includes server logs, user information, or internal system output, testing regex patterns offline is not just convenient — it is the responsible choice. Bellows runs entirely on your machine with no network access.
Always Available
Bellows sits in your menu bar, so the regex tester is one click away. No browser tab to find, no URL to remember, no loading spinner. Open it, test your pattern, copy the result, close it. The whole interaction takes seconds.