Patterns - The Regex App 4+

Nikolai Krill

    • 4.5 • 82 Ratings
    • $2.99



Patterns is the ultimate tool for working with regular expressions. Build great patterns quickly and effortlessly with regex syntax highlighting, live match view, replace mode, built-in quick reference, and much more. Whether you're new to regex and ready to learn, or a seasoned regex wizard looking to save valuable time, Patterns is the tool for the job.

- Regular expression syntax highlighting makes it easy to see how your pattern is interpreted by the regex engine. No more confusion about what needs to be escaped.
- The Matches view lets you inspect all matches and captured text produced by your regex, alongside your search text. Clicking on a match or group highlights both the matched search text and the specific portion of your regex that produced the match or capture.
- See matches, replacements, and filter results in real time while you edit your pattern.
- Use the Copy Code feature to quickly export your pattern for use in a number of different programming languages.
- The built-in regular expression quick reference sheet helps you learn and expand your knowledge of regex syntax.
- Customize the regex engine for different regex "flavors". Supported flavors are: Oniguruma, POSIX Basic (BRE), POSIX Extended (ERE), Perl (PCRE), emacs, Java, Ruby, bash, grep, and sed.

What’s New

Version 1.3

- Native support for Apple Silicon
- Ability to quickly select and deselect different capture groups for copying of matched text
- Bug fixes and general improvements

Ratings and Reviews

4.5 out of 5
82 Ratings

82 Ratings

edeleanu ,

Missing a way to save expressions for later

I want to start by saying that this is almost a perfect tool. As a programmer, I'm very impressed by this tool. It's a very convenient, intuitive, and beautiful regex editor. It's so easy to test the perfomance of capture groups and such. This tool is even able to handle the idiosyncracies of various programming environments. For example, a regex that works in Java might not work in PHP. This app takes that into account. Really useful.

So what's the problem? There's no way to save an expression (or the sample text for testing it). There is not even a way to open new tabs. If you want to start playing with a new expression, you have to erase the old. It's a shocking oversight for a developer that is clearly very talented.

Ransomed ,

Fast, effective for building or validating a regex against sample data

I love Patterns. Drop in some real samples I want to match against, as well as any false positives (things that are matching that I don’t want to match). Type in some fake ones as well if desired. Then build up the regex, keeping the handy cheatsheet up as necessary. I like the iteration it allows me.

Only things missing IMO are: 1 - ability to save a workspace, my #1 desire. I’d love to save both regexes and the samples I test it against, for later refinement or sharing. 2 - would like it to keep a scratchpad, a history of iterations. Would make it even more freeing to experiment, go back and forth, and recover complicated bits after working out another section of logic. Right now, to solve both of these, I keep a text doc handy and copy out my work (patterns and example text) frequently so I have a record of work.

MarcusPyo ,

Surprisingly useful

I was looking for a standalone macOS regex app. This happened to be on sale so I thought, what the heck. I figured it'd be nice as a backup for when the regexr website goes down.

A few months later, I realize I am using Patterns all the time. It is super convenient to Control-Tab into, paste in a text fragment, and immediately copy the output. It is lightening fast even for huge find/replace operations. Copying various regex group matches saves me tons of time too.

Overall I am extremely happy with the app. One minor thing would be a notebook or sidebar or something where you can save expressions. Otherwise great. Don't even wait for a sale to save a dollar or two. Just buy it. You will end up loving it.

App Privacy

The developer, Nikolai Krill, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Collected

The developer does not collect any data from this app.

Privacy practices may vary, for example, based on the features you use or your age. Learn More


  • Family Sharing

    Up to six family members can use this app with Family Sharing enabled.