Screenshots

Description

A complete regular expression development tool meant for novices and professionals alike, this editor has many features designed to help in the development and storage of regular expressions. Based on the PCRE library, RegExRX will allow a user to craft patterns that are compatible with most regular expression flavors and will let them easily copy those patterns to other languages like Objective-C, Perl, Ruby, PHP and Xojo.

Some features include:

- Search and Replace modes.
- Color-coded tokens in both the "search" and "replace" patterns.
- Live matching against source text. Live replace too, where applicable.
- Insert menus with almost every acceptable token and a description of what they do, including constructs for various groupings, conditionals, lookarounds, and POSIX expressions.
- A "Match List" that shows all matches, with subexpressions and group names, and represents invisible characters like a space or return with their token equivalents ("\s" or "\r").
- A Templates menu for oft-used patterns. Save As Template from the File menu, or download free samples from our website directly into the Templates folder.
- Export the Match List to a text file, Excel, or FileMaker Pro XML.
- Save the Replaced Text to a text file.
- Stats on both the source text and replaced text so you can tell exactly where you are and what characters are represented at all times. Helps avoid errors caused by invisible characters.
- Linked scrolling among the source text, the replaced text and the Match List.
- Support for Unicode tokens, verbs, and subroutines.
- Save regular expressions in documents for reuse.
- Open as many windows as desired.
- Multiple levels of undo and redo.
- Link your sample source text to a file for easy reloading.
- Support for free-spacing mode.
- Full Unicode support, including a chart of all Unicode characters.
- A fluid interface that lets you resize each panel freely.
- Copy the find and replace patterns in ready-to-paste code for Objective-C, Perl, PHP, Ruby, AppleScript, JavaScript, 4D, and Xojo.

We also provides several ready-to-use sample regular expressions in a separate, free download. These samples include finding e-mail addresses, validating dates, removing duplicate lines, and more, and are available at our web site. (Check the Help menu to download directly through RegExRX.)

What's New

Version 1.8.1

- Otherwise-invisible characters will always be entered as their equivalent codes (like "\xNN") in the pattern fields.
- Optimized colorization of curly brackets.
- Updated PCRE to 8.3.3.
- Raised subgroup limit from 16 to 100.
- Specifying too many subgroups in the search pattern will now report an error.
- Copy As 4D Code (French) wasn't being properly disabled if there was no pattern to copy.
- Added customized contextual menu.
- Added Objective-C as Copy target.
- Replace tokens menu now show group names next to subexpression.
- Fixed typo in Insert Search menu.
- Fixed bug in "Paste Special" where "Escape Brackets" wouldn't do anything.
- Fixed bug where option-space, -return, -tab would not enter corresponding code into pattern.
- Fixed bug where user would be unable to enter extended characters like "¨" (or "^" on some international keyboards).
- Fixed bug where a conditional would throw off subsequent group names.
- Fixed bug where opening multiple documents at the same time may fail to properly colorize source text in one of them.

Ratings and Reviews

4.8 out of 5

93 Ratings

93 Ratings

Good stuff.

XnicknameX

I'm happy. I use a lot of POSIX (Unix) regular expressions and the results are good. What more can I say? NO reson not to give it the highest rating. No bugs after months of use. You can drag and drop in a huge test file to play with.

Once you set the preferences and options to match POSIX you're all good. Don't forget POSIX default for grep is: line oriented, case sensitive, finds first match (in a line) only, strict, greedy, default line endings (for Unix) are LF.

Of course you can change all of this, but the settings are all over the place, and it isn't taking command line switches. A consequence of the fact that this app can emulate regexp in different languages.

Results are pretty good functionally, but inaccurate

dvandusen

I used the search string
^((?!TRACE: ).)*($|\n)
replace null

on

trace: ggdgfhdfghd
dfasdfsdfsf
trace: ggdgfhdfghd
dfasdfsdfsf
dfasdfsdfsfdfasdfsdfsfdfasdfsdfsf
dfasdfsdfsf

with various line ending options (a good feature), and received: (with spacing shown!)

trace: ggdgfhdfghd

trace: ggdgfhdfghd

and replacement: (arrows not shown - it is not easy to cut and paste from replaced window)

dfasdfsdfsf
dfasdfsdfsf
dfasdfsdfsfdfasdfsdfsfdfasdfsdfsf
dfasdfsdfsf

This is inaccurate because the failure to remove blank lines in

trace: ggdgfhdfghd

trace: ggdgfhdfghd

which should result as

trace: ggdgfhdfghd
trace: ggdgfhdfghd

I tried all options.

Not all editors require the ($|\n)

Also, I tried

^((?!TRACE: ).)*[$|\n]

again on: (note - last line does not have a line ending other than end of file of some sort)

trace: ggdgfhdfghd
dfasdfsdfsf
trace: ggdgfhdfghd
dfasdfsdfsf
dfasdfsdfsfdfasdfsdfsfdfasdfsdfsf
dfasdfsdfsf

It returns:
trace: ggdgfhdfghd
trace: ggdgfhdfghd
dfasdfsdfsf

which implies that the [$|\n] REQUIRES a stated line ending, but that the ($|\n) can live without it. I believe that this is wrong.
D

Huge time saver

Alan-Laidlaw

I tried online tools, i downloaded and tried a couple of competitors from the app store but this is the tool I use to help me develop, refine and debug RegEx's.
It is focused on helping you get the job done without trying to be cute or flashy.
Features I like :
• accuracy, if it works in RegEx it has always worked the same way in my Perl script
• color coding in the match expression it makes it more readable.
• ability to paste in large ammonts of source text.
• ability to save out the pattern & source text you are working on so you can return to them later.
• colour coded match list which shows what will end up in your $1. $2 etc capture groups.
• click on match takes you to the match in the source text
• clean drop down for syntax hints

What doesn't it do
It doesn't show invisible characters in the source text - at least if it does I haven't been able to work out how.

Information

Seller
Kem Tekinay
Size
11.7 MB
Category
Developer Tools
Compatibility
Languages
English, Bengali, Dutch, French, German, Italian
Age Rating
Rated 4+
Copyright
©2013 by MacTechnologies Consulting.
Price
$4.99

Supports

  • Family Sharing

    With Family Sharing set up, up to six family members can use this app.

More By This Developer