Play with regular expressions on Mac
A macOS cleaner and performance booster in one app. Get more done with a faster Mac.
Learn how to capture videos, GIFs, scrollable content, and old good screenshots on the fly.
Zoom or Google Meet, it doesn’t matter. Manage all your calls in one place.
Expressions app highlights your syntax making it easy readable. First up, you enter the text in the search field to check for matches. The app will dynamically highlight your patterns to analyze text in real time. You can play around with and modify your expressions on-the-fly.
You’ll enjoy the native Mac feel of this app. Not only it looks minimalist zen-like but totally eliminates any distractions. You can switch between dark and light background for better grasp on the text. Turn the Full-Screen mode on when you are ready to share your regexp code with others.
It’s next to impossible to remember every regular expression there is. Use a handy cheat-sheet for regexp syntax if you’re stuck with the text. A reference chart is a shortcut away — just type cmd+r and see all basic operators and characters on the right panel.
You can easily test the expressions you need right when you type them. Everything is interactively updated so you can see if your syntax works. Expressions can become a perfect debugger for large bulks of text. You can validate, extract strings from your text, and then parse this text with specific kinds of regexps.
Pressing cmd+shift+} summons subexpressions, but there are more dedicated instruments to handle sub-levels and groups of text. See highlighted queries for text groups and pattern groups for a quicker search. There is also an option to see specific types of expressions by highlighting regexp subexpressions using cmd+shift+] shortcut.
Unlike many online tools for these types of jobs, Expressions has a special tool for comments. This comes especially in handy while working with large complex patterns. Here you can break various patterns into smaller ones — insert any comments or whitespaces to make your texts easier to skim when you review them later.