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).

Regex Test Tool

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.