Section: Regular expressions and subprocess

Regex find all

python
python
import re
numbers = re.findall(r"\d+", text)

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Regular expressions and subprocess
Regex search
Regex search
OpenIn sheetpythonsame section
Regex named groups
Regex named groups
OpenIn sheetpythonsame section
Run subprocess
Run subprocess
OpenIn sheetpythonsame section
Subprocess with shell disabled
Subprocess with shell disabled
OpenIn sheetpythonsame section
Chain iterables
Chain iterables
Parse JSON
Parse JSON