The Extracting data from structured strings recipe The Introducing regular expressions recipe The Going deeper into regular expressions recipe