Log In
Expressions by Wingtip Labs

Learn Regular Expressions

Expressions is a 40-level game that teaches you regular expressions. When you create an account, you get the first 10 levels free.

Sign up to Play

Why play a game to learn Regular Expressions?

Regular expressions are built out of simple parts that interact in complicated ways. Lots of resources cover the parts, but there's no better way to get your head around the combinations than to play with them.

Consider a single LEGO brick. (Better yet, recall stepping on one barefoot!) One LEGO is all sharp corners and garish color. But you can't possibly look at one brick in isolation and imagine all the incredible things it could build.

So I've built a set of challenges that introduce you to the parts, then show you how to put them together in strange and powerful ways.

What kind of game is this?

In Expressions, you'll solve a series of sorting puzzles, using real regular expressions to sort lines of text (strings) into "match" and "don't match". Most levels are generated dynamically, to ensure there's replay value even in lessons you've beaten repeatedly.

The best way to get a feel for it would be to

Create a Free Account

What are people saying?

I bought the Regex program this morning. ... Thanks! It is a great product.

Phil from Providence, Rhode Island

I wish I had this at school.

Anonymous from Nottingham, England

Thank you for the game. It is tremendously helpful for learning regular expressions.

Justin from College Station, Texas