Skip to content

Regex substitution

The re.sub function replaces pattern matches and can reuse captured text in a replacement.

3 minutes. No account needed.

Keep going with Python

We build you a study plan for each day. It fits your time and starts at this chapter.

Build my plan

Start free, no account needed. See prices