Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Stheven Cabral
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Stheven Cabral
    Full Stack JavaScript Techdegree Graduate 29,854 Points

    What Does UTF-8 mean?

    Posted October 21, 2019 4:31am by Stheven Cabral
    .a{fill-rule:evenodd;}techdegree seal-36
    Stheven Cabral
    Full Stack JavaScript Techdegree Graduate 29,854 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Andrei Oprescu
    Andrei Oprescu
    9,547 Points

    I don't quite understand how this works

    Posted August 9, 2018 11:25am by Andrei Oprescu
    Andrei Oprescu
    9,547 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Jerimiah Willhite
    Jerimiah Willhite
    12,014 Points

    Why would you not just use 'search' all the time? What's the use of 'match'?

    Posted June 2, 2017 6:00pm by Jerimiah Willhite
    Jerimiah Willhite
    12,014 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Sahar Nasiri
    Sahar Nasiri
    7,454 Points

    What is that "Span"?

    Posted April 24, 2017 6:45am by Sahar Nasiri
    Sahar Nasiri
    7,454 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • MoatazBellah Ghobashy
    MoatazBellah Ghobashy
    9,518 Points

    How to can i get some file to read with a directory!!

    Posted October 23, 2016 7:45pm by MoatazBellah Ghobashy
    MoatazBellah Ghobashy
    9,518 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • vikas pal
    vikas pal
    11,563 Points

    what's the difference in 'with' and '.open()'

    Posted October 14, 2016 5:16pm by vikas pal
    vikas pal
    11,563 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

  • Hara Gopal K
    PLUS
    Hara Gopal K
    Courses Plus Student 10,027 Points

    storing regex in a variable

    Posted October 7, 2016 5:29pm by Hara Gopal K
    Hara Gopal K
    Courses Plus Student 10,027 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

  • Chris Jones
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Chris Jones
    Java Web Development Techdegree Graduate 23,933 Points

    How is a pointer different from a variable?

    Posted September 9, 2016 1:18am by Chris Jones
    .a{fill-rule:evenodd;}techdegree seal-36
    Chris Jones
    Java Web Development Techdegree Graduate 23,933 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

  • sidni ahmed
    sidni ahmed
    3,329 Points

    reading file on my pc?

    Posted May 29, 2016 3:56pm by sidni ahmed
    sidni ahmed
    3,329 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    4 Answers

  • James N
    James N
    17,864 Points

    is "regex" built-in to python? or do i have to download it seperatly?

    Posted January 24, 2016 8:56pm by James N
    James N
    17,864 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Rajesh Tupakula
    Rajesh Tupakula
    1,927 Points

    Need help with the regular expression.

    Posted January 13, 2016 5:14pm by Rajesh Tupakula
    Rajesh Tupakula
    1,927 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Graham Mackenzie
    Graham Mackenzie
    2,747 Points

    "This saves us some very confusing repeated uses of the backslash character or the escape character"

    Posted November 12, 2015 8:15pm by Graham Mackenzie
    Graham Mackenzie
    2,747 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

  • peter keves
    peter keves
    6,854 Points

    open read and close methods

    Posted September 1, 2015 6:53pm by peter keves
    peter keves
    6,854 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Naivedya Bansal
    Naivedya Bansal
    5,483 Points

    regarding SRE_Match object

    Posted July 22, 2015 10:48am by Naivedya Bansal
    Naivedya Bansal
    5,483 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    1 Answer

  • Babak Damadi
    PLUS
    Babak Damadi
    Courses Plus Student 3,133 Points

    with Open("names.txt")

    Posted December 29, 2014 7:09pm by Babak Damadi
    Babak Damadi
    Courses Plus Student 3,133 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Reading Files

    2 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord