Index Ai Academy
Glossary · Phase 0 · Tools

Escape

A backslash that makes the next character mean itself, or a special pattern such as \d, instead of its usual meaning.

Try it now

Edit the pattern or the text and watch the matches change. Try the presets, then break one on purpose: delete a \b, or change {3} to {2}.

Learn it properly

Regular expressions · Find, check, extract and clean text patterns with the re module. About 42 minutes.

Other terms from the same lesson

  • raw string: A string written with r in front, like r"\d+", where backslashes are kept as they are.
  • regular expression: A short pattern that describes text, like \d+ for "one or more digits", used to find, check or clean text.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Phase 0 · lesson 42 min

Regular expressions

Find, check, extract and clean text patterns with the re module.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write