Skip to content

DevUtilsApp/regextester.app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RegExp Tester

Test your regular expressions without online tools. DevUtils.app allows you to quickly test regular expressions with a sample text without any internet connection. It supports ICU regex engine and flags: case sensitive, white space, comments, line separator options...

DevUtils.app: RegExp Tester macOS app
🚀 Download | 🎬 Demo & Screenshots | 📝 View source

Quickly test a regular expression

You can test a regular expression from anywhere in your macOS (terminal, in email, web browser,...). Activate the app by:

  • Copy text ► Press ⌃⌥⌘Space (Or your own customized hotkey, up to you)
  • Copy text ► Click to icon DevUtils.app status bar icon in the status bar
  • Select text ► Right-click ► "Inspect in DevUtils.app" (This menu appears after you install the app)

Input

Enter your regular expression in the input textbox and the sample text in the second textbox. The matches will be highlighted as you type.

You can also load the sample text from a file from your computer using the "Load file..." button.

Output

The tool will render the matches with green background. You can also inspect each matches using the text view at the bottom. The text view lists all the matches separated by a new line.

You can navigate to each matches by clicking the "back" and "forward" button. The label in between displays the number of matches for the current regex.

Options

Currently, the supported regex engines are:

  • ICU Engine

Supported flags:

  • Case insensitive
  • Allow use of white space and #comments within patterns
  • "." matches line separators
  • "^" and "$" matches at the start and end of each line within the input text
  • "\b" matches words based on boundaries defined in Unicode UAX 29, Text Boundaries

You can click to the gear icon to set the flags.

DevUtils.app: RegExp Tester Settings macOS app