Regex

An Alfred Workflow


Short Description

Run and save regular expressions!

Last Updated

15 Nov 2014

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes No
 

Version

1.7.0
 

Bundle ID

com.verykiwi.regex
 

EDIT

NEW FEATURES: ICON NOW HAS AN INDICATOR TO SHOW WHEN YOUR INPUT IS VALID.

 

Perform regex replacements on copied text, and save sequences of regexs for future use!

Please visit http://code.instructorium.com/regex for more information.  A summary is below:

Commands you can use:

1. Any regular expression (no keyword necessary, Perl-style) "s/this/that/msg" "s@\$(\d+)\.(\d{2})@$1 dollars and $2 cents@g", etc.

2. Follow your regular expression with " save as " and then a name in order to save it for future use. "s&this&that&xg save as mythisthat", etc.

3. Use the "regex" keyword followed by the name you saved it under to execute a saved regex. "regex mythisthat", etc.

 

 

Version 1.6.0:  Now supports the tr feature.  Use case: "tr/this/that", "y[a-z][A-Z]cs", etc..

Version 1.7.0:  Now supports special characters (all Unicode characters via UTF-8).