43

Given a regular expression, is there a library or webservice which will give the human/non-programmer an English description?

For example, .+ => one or more characters

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Esben Skov Pedersen
  • 4,437
  • 2
  • 32
  • 46

5 Answers5

77

There is an excellent site called http://regex101.com that does exactly that, as well. It also provides access to different regex engines, allows you to save and debug your regexes and test strings...very nice.

regex101 screenshot

Tim Pietzcker
  • 328,213
  • 58
  • 503
  • 561
22

I don't know about a website, but RegexBuddy will do that for you.

alt text

Tim Pietzcker
  • 328,213
  • 58
  • 503
  • 561
10

I'm a big fan of RegExr. Similar to regex101, but has more features and a nicer interface in my opinion. enter image description here

3

This is an old question, but I was looking for something like this myself a few minutes ago, so here is the solution I found with a quick Google search.

http://www.myezapp.com/apps/dev/regexp/show.ws

The explanation is a little terse, but worked well enough for my needs. Here in a link to a screenshot (not enough reputation to post images). enter image description here Screenshot of a simple regex example

I tried Tim Peitzcker's suggested regex101.com, but liked the simple format of this site better.

Mohit Kanwar
  • 2,962
  • 7
  • 39
  • 59
comcc
  • 31
  • 2
2

Regex Coach can do this, though it is a desktop app rather than something callable http://weitz.de/regex-coach/

Paul Dixon
  • 295,876
  • 54
  • 310
  • 348