Learn – Test Regular Expressions With The Regulator
Regex (regular expressions) always seem hard to learn but once learned, it gives you power to solve many complicated coding tasks easily. With the JavaScript and SEO (for mod_rewrite) oriented web, Regex is a must-know for developers.
What is Regex?
A regular expression, often called a pattern, is an expression that describes a set of strings. They are usually used to give a concise description of a set, without having to list all elements. For example, the set containing the three strings "Handel", "Händel", and "Haendel" can be described by the pattern H(ä|ae?)ndel (or alternatively, it is said that the pattern matches each of the three strings) (via Wikipedia).
The Regulator is an advanced, free regular expressions testing and learning tool. It allows you to build and verify a regular expression against any text input, file or web, and displays matching, splitting or replacement results within an easy to understand, hierarchical tree.
Regex actions supported:
- Find multiple matches
- Replace text according to expression
- Split text according to expression
The Regulator is also integrated with RegexLib.com, a free regular expressions library, and helps finding ready-to-use regular expressions.
Website: http://osherove.com/tools
Download: http://sourceforge.net/projects/regulator/files/
- Tags:
htaccess Regex Seo
- Filed under: Extras, License Free, Tools
- 10 Comments












10 Responses for "Learn – Test Regular Expressions With The Regulator"
Very useful. Thanks.
[...] Via: WebResourcesDepot [...]
[...] I came across an app called The Regulator I was pretty surprised to see that the developer wasn’t charging for it. Sure it didn’t [...]
[...] I came across an app called The Regulator I was pretty surprised to see that the developer wasn’t charging for it. Sure it didn’t [...]
None of the help works; it just says ‘cannot navigate’.
I have the same help issue, odd.
The help doesn’t work but you can simply decompile the *.chm file and view the underlying HTML documents. HTML help workshop utility (included with the OS) can do this for you:
C:\>hh.exe -decompile c:\temp C:\Temp\Regulator2Help.chm
Help file works fine. If it doesn’t work for you, it’s because Windows security has blocked it. Right click on the help file, select properties and click UNBLOCK on one of the tabs.
Help didn’t work at first, Windows Vista blocked some of the files in the Regulator folder, including Regulator2Help.chm. I was able to fix it by right-clicking on the file, select properties and click UNBLOCK button.
This is great, thank you.
Unfortunately does the web search end with an error message:
Object moved to /webservices.asmx?AspxAutoDetectCookieSupport=1
Can you help or fix?
Thanks again.
(The Knowledge Base link doesn’t work either)
Regulator 2.0.3.0(beta)