✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops
    • Close
  • boi
    boi
    14,242 Points

    Extra credit submission

    Posted on Dec 19, 2020 by boi
    boi
    14,242 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    0 Answers

  • zy93
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    zy93
    Python Web Development Techdegree Student 6,879 Points

    My solution for the extra credit assignment

    Posted on Mar 15, 2020 by zy93
    .a{fill-rule:evenodd;}techdegree
    zy93
    Python Web Development Techdegree Student 6,879 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    0 Answers

  • ishakahmed
    ishakahmed
    11,359 Points

    Arguments for MatchObject.groupdict() and MatchObject.group()

    Posted on Jan 20, 2020 by ishakahmed
    ishakahmed
    11,359 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    1 Answer

  • Mark Chesney
    Mark Chesney
    11,747 Points

    regex players dictionary and class

    Posted on Feb 19, 2019 by Mark Chesney
    Mark Chesney
    11,747 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    4 Answers

  • Tom Watson
    Tom Watson
    9,987 Points

    Regex Extra Credit

    Posted on Nov 25, 2018 by Tom Watson
    Tom Watson
    9,987 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    1 Answer

  • Bijay Gurung
    Bijay Gurung
    1,818 Points

    Flags meaning in regular expression :(

    Posted on May 10, 2018 by Bijay Gurung
    Bijay Gurung
    1,818 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    1 Answer

  • Flore W
    Flore W
    4,744 Points

    Has anyone done the Extra Credit? Can you share what you've done?

    Posted on Mar 8, 2018 by Flore W
    Flore W
    4,744 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    1 Answer

  • V K
    V K
    5,237 Points

    I don't understand why < > was used around email in the following print statement

    Posted on Nov 17, 2016 by V K
    V K
    5,237 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    1 Answer

  • Pavlo Kochubei
    Pavlo Kochubei
    15,009 Points

    .format() funciton

    Posted on Jun 10, 2015 by Pavlo Kochubei
    Pavlo Kochubei
    15,009 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    1 Answer

  • shibashis
    shibashis
    8,989 Points

    Why can I loop through result of finditer only once?

    Posted on May 6, 2015 by shibashis
    shibashis
    8,989 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    1 Answer

  • Igors Smirnovs
    Igors Smirnovs
    10,441 Points

    Boolean with re?

    Posted on Apr 3, 2015 by Igors Smirnovs
    Igors Smirnovs
    10,441 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    3 Answers

  • Adiv Abramson
    Adiv Abramson
    6,919 Points

    Great course. Very informative. Was replacing matches with sub or subn covered?

    Posted on Dec 19, 2014 by Adiv Abramson
    Adiv Abramson
    6,919 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Compiling and Loops

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.