The Regex app is a Python editor that runs in WebAssembly (Pyodide).
Goal
Know how Run, print, files, and Reset work before the later chapters.
Run code
Paste into the editor and press Ctrl+Enter (Windows/Linux) or Cmd+Enter (macOS). The console is stdout. Use print.
import re
print(re.search(r'Nairobi', 'kiosk Nairobi sold 12').group())Files live in /uploads
Click Add files and choose kiosk.txt. Then Path('kiosk.txt').read_text(encoding='utf-8').
Reset
Reset restores the starter snippet. Uploads stay. Clear console only clears the log.