Best Regex Tester Apps for Mac in 2026: Pick by Flavor
Regex testers for Mac compared by the flavor you ship (ICU, PCRE2, JavaScript): regex101, Bytepliers, Expressions, Patterns, RegExRx and BBEdit, with prices.
Best appsUpdated 13 min read
On this page
The best regex tester on a Mac is the one that runs the same engine as your code. If you ship PCRE2, JavaScript, Python, Go, Java, .NET or Rust patterns, use regex101. It's free in the browser and lets you pick the flavor. For patterns that run through NSRegularExpression in a Swift or Objective-C app, test in an ICU-based tool such as Bytepliers. If you want a small native app just for regex, look at Expressions.
Quick picks
- regex101 (web): best for most people, especially if you ship PCRE2, JavaScript, Python, Go, Java, .NET or Rust patterns. Free.
- Bytepliers: best for NSRegularExpression (ICU) patterns. It can also turn a tested pattern into a reusable step that you run from the menu bar, Shortcuts or the command line.
- Expressions: best if you want a native Mac regex app that saves your expressions and still gets updates.
- Patterns: best if you want a very small regex app that you buy once and that runs on old macOS versions.
grep -Ein Terminal and your browser's developer tools: best for a free check in the exact engine your shell script or web page will use.
We make Bytepliers, so weigh our view accordingly. We've tried to be fair to every app here, and for many readers a free option is enough.
Why the regex flavor matters
A regex is only correct for a specific engine. The same pattern can match differently, or fail to compile, depending on which flavor runs it. A pattern that passes in a tester set to PCRE2 can break once it ships inside a JavaScript bundle or a Swift app.
These are differences you will actually run into:
\wand non-English text. In JavaScript,\wmatches only ASCII letters, digits and underscore. ICU's\w, which NSRegularExpression uses, also matches Unicode letters. Run\w+on "café" and JavaScript returnscaf, while ICU returnscafé.- Atomic groups and possessive quantifiers.
(?>…)anda*+work in ICU and PCRE2. JavaScript supports neither, so the pattern is a syntax error there. - Lookaround and backreferences in Go. Go's
regexppackage has no lookahead, lookbehind or backreferences. A PCRE pattern that uses(?=…)won't compile in Go. - POSIX tools.
grep -Eand other POSIX ERE tools have no lookaround either. - Catastrophic backtracking. ICU, PCRE2 and JavaScript are backtracking engines. A pattern like
(a+)+$can take exponential time on a long run ofas that ends in a different character. Go's engine is designed to avoid this. A tester that stops runaway patterns quickly shows you the problem before your users find it.
To find the flavor you need, look up what your code uses:
| If your code uses… | The flavor is… | Test it in… |
|---|---|---|
NSRegularExpression (Swift, Objective-C) | ICU | An ICU tester such as the Bytepliers Regex Tester |
JavaScript or TypeScript RegExp | JavaScript | regex101 (JavaScript), or your browser's developer tools |
PHP preg_* | PCRE | regex101 (PCRE2) |
Python re, Go regexp, Java, .NET, Rust | Each has its own | regex101 with that flavor selected |
grep -E, sed -E, awk in Terminal | POSIX ERE | Terminal itself, or regex101 (POSIX ERE) |
Swift's newer Regex type uses its own engine, not ICU. For those patterns, the most faithful test is a Swift playground or a unit test.
How we chose
- Flavor match. Does the tester run, or explicitly emulate, the engine you ship? This matters more than any other feature.
- Live feedback. Matches should highlight as you type, with capture groups visible.
- Replace testing. A lot of regex work is search-and-replace, so a tester should show what a replacement template produces, not only the matches.
- Where your test data goes. Test strings are often real logs or payloads. A tool that works offline keeps them on your Mac, while a website may store what you save there.
- Maintenance and price model. We looked at the last release date and whether the app is a one-time purchase, a subscription or free.
Everything below about other apps is as of November 2026. It comes from their official pages, store listings and press coverage.
Mac regex testers at a glance
| App | Best for | Price (as of November 2026) | Free option | Standout limit |
|---|---|---|---|---|
| regex101 | Most flavors, explanations, sharing | Free; paid Pro tier (official price not found) | Yes | Browser only; free tier shows sponsor placements |
| Bytepliers | ICU / NSRegularExpression, reusable regex steps | Part of MacSuite: $349 one-time for every MacSuite app | 7-day trial | Tests one flavor (ICU) |
| Expressions | A maintained native regex app | $7.99 one-time (website); also on Setapp ($9.99/month) | Free trial | Purchase covers the current major version only |
| Patterns | Tiny native app, old macOS versions | One-time Mac App Store purchase | No trial mentioned | Last update February 2023 |
| RegExRx | Emulating other languages' regex behavior | $4.99 one-time (Mac App Store) | None found | App Store build is Intel-only |
| BBEdit | When you want a full Mac text editor anyway | $59.99 one-time direct, or $4.99/month / $49.99/year on the Mac App Store | Free Mode after a 30-day trial | General editor, not a dedicated tester |
The sections below follow the same order. regex101 comes first because it is free and covers the most flavors. Bytepliers comes next because it is the ICU option. The native single-purpose apps and the editor follow.
regex101 (web)
regex101 is a browser-based tester and the right default for most developers. It supports PCRE2, JavaScript, Python, Go, Java, .NET, Rust, POSIX ERE and POSIX BRE. Pick the flavor that matches your code and you are testing close to the real thing.
What it's good at:
- Matches highlight as you type, and it explains each token, group and flag automatically. That helps when you inherit a pattern you didn't write.
- The editor has Match, Substitution, Extraction and Unit Tests modes.
- It also offers benchmarking, code generation and match export.
- With a free account you can save expressions, give them titles and tags, mark favorites, keep them private and share examples.
What it lacks:
- It runs only in a browser. We found no native desktop app.
- ICU isn't among its listed flavors, so it can't stand in for NSRegularExpression.
- Some features need the paid Pro tier, and the free tier has sponsor placements.
- Expressions you save go to your regex101 account, so think twice before pasting production logs or customer data.
Price: free to use, with a paid Pro upgrade. We couldn't find the official Pro price.
Pick it if you ship anything other than ICU, or you want explanations and shareable examples. Many readers can stop here.
Bytepliers
Bytepliers is our developer-utilities app. Its Regex Tester uses NSRegularExpression with ICU syntax, the same engine your Swift or Objective-C code calls. The Regex Tester is one of 41 offline tools in the app, along with JSON, JWT, Base64 and timestamp tools.


To test a pattern:
- In Bytepliers, press ⌘8 (Command-8) to open Regex Tester.
- Type your pattern in the pattern field.
- Turn on any flags you need:
iIgnore case,mMultiline anchors,sDot matches newline orxIgnore whitespace and comments. - Paste sample text into Test String. Matches highlight as you type.
- Check the Matches list. It shows each match's index and range, plus its numbered and named groups. Click a match to select it in the text.
- Switch to Replace to test a replacement template, or to List to format every match through a template (for example,
$1,$2).
What it's good at:
- Templates. Templates accept
$0through$99,${12},${name}, the escapes\n \t \r \\ \$, and$$. - Cheat sheet. Cheat Sheet (⌘/) inserts syntax at the caret.
- Runaway patterns. Live evaluation stops after 250 ms and shows "Timed out after 250 ms — likely catastrophic backtracking".
- Reuse. Insert into Pipeline adds the pattern as a Regex Extract, Regex Replace or Regex List step with your flags inlined, then opens Pipelines. Save the pipeline as a recipe. You can then run it on the clipboard from ⌘K, the menu bar or the Quick Panel. You can also run it from the Shortcuts action Run Bytepliers Recipe or from the command line. See pipelines and recipes.
- Command line. To use regex transforms in Terminal, install the CLI first (Settings ▸ Integrations ▸ Command-Line Tool ▸ Install…):
bytepliers regex-extract --arg 'status=(\d{3})' -i access.logThis prints group 1 of each match, or the whole match if the pattern has no group, up to 10,000 matches. Input over 2 MB is refused, so this suits snippets and small logs, not large log files. For a replacement, use bytepliers regex-replace --arg '<pattern>' --arg2 '<template>'. The command-line docs cover installation and options.
What it lacks:
- It tests one flavor. If you ship JavaScript or PCRE, use regex101 or the engine itself.
- Match and List modes show at most 1,000 matches.
- Highlighting in the test string turns off above 500,000 UTF-16 units.
- Regex steps in pipelines are limited to 2 seconds.
- The Shortcuts action Transform Text doesn't include regex transforms. Put the regex in a recipe and use Run Bytepliers Recipe instead.
- Replacement placeholder syntax varies between languages and APIs. Make sure your code's replace call understands the same placeholders before you copy a template over.
Privacy: the tool makes no network requests. Recent inputs are kept per tool in a local history file, where you can pin, rename or clear entries.
Price (as of November 2026): Bytepliers is sold only as part of MacSuite, at $349 one-time for every MacSuite app on up to 3 Macs. That's a lot to pay for a regex tester alone. It makes sense if you would also use the other developer tools or the other apps in the bundle. Bytepliers requires macOS 14 or later.
Pick it if you write NSRegularExpression patterns, or you want a tested regex to become a recipe you run from the Quick Panel, Shortcuts or the command line. Bytepliers is part of MacSuite, and you can try it free for 7 days.
Expressions
Expressions by Apptorium is a native Mac app for experimenting with regular expressions. You can test patterns, inspect matches live, save useful expressions and keep a regex reference nearby while you work.
What it's good at: it is actively maintained. Version 1.3.9 came out in December 2025 with updates for macOS Tahoe, and the App Store release notes say it is optimized for Apple silicon. You can buy it from the website, the Mac App Store or Setapp.
What it lacks: the sources we checked don't say which regex flavor it uses. If flavor matters for your code, confirm it during the trial before you rely on it. A purchase covers only the current major version, and it needs macOS 12 or later.
Price (as of November 2026): $7.99 one-time from the website. One App Store storefront shows $9.99. It is also included in a Setapp subscription, which costs $9.99/month. The website offers a free trial.
Pick it if you want a focused, current, native regex app and your patterns don't depend on one specific engine.
Patterns
Patterns by Nikolai Krill is a Mac App Store app for writing and testing regular expressions. It has syntax highlighting, a live match view, a replace mode and a built-in quick reference.
What it's good at: it is tiny (a 1.1 MB download) and needs only macOS 10.7 or later.
What it lacks: updates are rare. The version history shows 1.0 in 2011 and 1.3 in February 2023, so it's unclear whether it is still maintained. It is English only, and our sources don't state its regex flavor.
Price (as of November 2026): a one-time Mac App Store purchase, with no trial or subscription mentioned. We couldn't confirm the US price, so check the store listing.
Pick it if you want a small regex window and don't need recent updates.
RegExRx
RegExRx by Kem Tekinay is a tool for building and debugging regular expressions, made with Xojo developers in mind. Its listing says it can emulate how regex behaves in different programming languages, which is the flavor problem this page is about. The listing doesn't say which languages it covers.
What it's good at: it emulates other languages' regex behavior, and a user review mentions instant feedback while you write a pattern. Ready-made sample patterns are available as a separate free download.
What it lacks: the Mac App Store build looks old (its copyright is 2019). According to the developer, that build is Intel-only, and he offers an Apple silicon build as a separate download from his website. We found no recent release date, so its maintenance status is unclear.
Price (as of November 2026): $4.99 one-time on the Mac App Store. It requires macOS 10.9 or later. The developer also mentions a Windows version.
Pick it if you work in Xojo, or you want emulation of another language's regex behavior and can confirm that your language is covered.
BBEdit
BBEdit from Bare Bones Software is a Mac text and code editor with a long release history. We include it for readers who would rather search and replace in the editor where their files already are.
Our sources don't cover BBEdit's search features or the pattern syntax it uses. Check Bare Bones' own documentation before relying on it for a specific flavor. BBEdit 16 added more Shortcuts actions, text search inside images, W3C HTML checker support and vi keyboard emulation. The latest release we found is 16.0.3 (August 2026). TidBITS lists macOS 14 or later as the requirement.
Price (as of November 2026): $59.99 one-time direct, or $29.99 to upgrade from BBEdit 15. On the Mac App Store it is a subscription at $4.99/month or $49.99/year. After the 30-day trial it keeps running in a free mode that includes its editing features.
Pick it if you want a full Mac editor anyway and your regex work happens inside files. It isn't a dedicated tester.
Test free in the engine you ship
When the flavor matters most, the most faithful test is the engine your code will run.
Shell scripts (POSIX ERE). If the pattern goes into grep -E, test it with grep -E in Terminal:
echo "order 1234 shipped 2026-11-13" | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}'This prints only the matching text (2026-11-13). It changes nothing on your system, so there is nothing to undo.
JavaScript. Run the pattern in your browser's developer tools console, such as Chrome DevTools:
"café au lait".match(/\w+/g) // ["caf", "au", "lait"]That result shows JavaScript's ASCII-only \w, described above.
These checks have no highlighting, no group view and no cheat sheet. Use them as a final confirmation, not as a place to build a pattern.
Feature comparison
| regex101 | Bytepliers | Expressions | Patterns | RegExRx | BBEdit | |
|---|---|---|---|---|---|---|
| Flavor(s) | PCRE2, JavaScript, Python, Go, Java, .NET, Rust, POSIX ERE/BRE | ICU (NSRegularExpression) | Not stated | Not stated | Emulates several languages (list not stated) | Not covered in our sources |
| Runs as | Web page | Native Mac app, offline | Native Mac app | Native Mac app | Native Mac app (Intel-only App Store build) | Native Mac editor |
| Live matches | Yes, with explanations | Yes, with group list | Yes | Yes | Instant feedback (per a user review) | Not covered |
| Replace testing | Substitution mode | Replace and List templates | Not stated | Replace mode | Not stated | Not covered |
| Reference | Token explanations | Cheat Sheet (⌘/) | Built-in reference | Quick reference | Free sample patterns | Not covered |
| Save patterns | Free account | Local history with pins; recipes | Yes | Not stated | Not stated | Not covered |
| Reuse outside the tester | Code generation, export | Pipelines, Shortcuts, CLI | Not stated | Not stated | Not stated | Not covered |
| Minimum macOS | Runs in a browser | macOS 14 | macOS 12 | macOS 10.7 | macOS 10.9 | macOS 14 (per TidBITS) |
| Latest version seen | No date found | 1.0.0 | 1.3.9 (December 2025) | 1.3 (February 2023) | No date found | 16.0.3 (August 2026) |
How to choose a regex tester for Mac
- If you ship JavaScript, PHP, Python, Go, Java, .NET or Rust patterns, use regex101 with that flavor selected. It's free, and it's enough.
- If your patterns run through NSRegularExpression, use an ICU tester. In Bytepliers, that is the Regex Tester.
- If you also want the tested pattern as a Shortcuts step, CLI command or clipboard recipe, use Bytepliers recipes.
- If you want a native app and flavor isn't critical, try Expressions (maintained) or Patterns (small, rarely updated).
- If your test strings contain production data that shouldn't go into a website, use a tool that works offline.
- If the pattern lives in a shell script, confirm it with
grep -Ein Terminal before you ship.
If you are also comparing outputs or data files while debugging, see how to compare two text files on Mac. For full developer toolboxes rather than regex-only apps, see DevUtils alternatives.
FAQ
Why does my regex work in an online tester but not in my app?
Usually the tester was set to a different flavor than your code uses. Common causes are atomic groups or possessive quantifiers in JavaScript, lookarounds in Go, and \w matching non-ASCII letters in ICU but not in JavaScript. Set the tester to your engine, or test with the engine itself.
Which regex flavor does NSRegularExpression use?
ICU. A tester that runs ICU syntax should match the same way your NSRegularExpression code does.
Can I test a regex on Mac without installing anything?
Yes. regex101 runs in any browser. For shell patterns, grep -E is already in Terminal, and for JavaScript, your browser's developer tools run the real engine.
What is catastrophic backtracking?
It happens when a backtracking engine (ICU, PCRE2, JavaScript) tries an exponential number of ways to match, often because of nested quantifiers like (a+)+. The pattern looks fine on short input but hangs on long input. A tester that times out runaway patterns, as Bytepliers does after 250 ms, catches this early.