This will convert an example string into a regular expression. On the whole the regex generated is not general enough so normal usage is to input a string into the first text box, and then generalize so you maximize you captures.

To start, please type in a string to convert it to a regular expression.

Your regular expression is:


123   →  (\d+)
abc   →  (\w+)
123abc   →  (\d+)(\w+)
Thu, 16 Nov 2006 05:18:43 +0100   →  

Here is a ruby version: