• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • JASON LEE
    JASON LEE
    16,425 Points

    In the last example, inconsistent result \w* vs \w+

    Posted January 28, 2023 10:24pm by JASON LEE
    JASON LEE
    16,425 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Finding Repeated Characters

    1 Answer

  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    [^@.] + vs [^@.]*

    Posted January 14, 2022 1:49am by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Excluding Characters

    1 Answer

  • Victor Stanciu
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Victor Stanciu
    Full Stack JavaScript Techdegree Student 11,196 Points

    My solution

    Posted October 26, 2021 5:25pm by Victor Stanciu
    .a{fill-rule:evenodd;}techdegree
    Victor Stanciu
    Full Stack JavaScript Techdegree Student 11,196 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Groups

    1 Answer

  • Victor Stanciu
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Victor Stanciu
    Full Stack JavaScript Techdegree Student 11,196 Points

    My solution for this practice

    Posted October 26, 2021 4:52pm by Victor Stanciu
    .a{fill-rule:evenodd;}techdegree
    Victor Stanciu
    Full Stack JavaScript Techdegree Student 11,196 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Excluding Characters

    1 Answer

  • Jeffrey Holcomb
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jeffrey Holcomb
    Full Stack JavaScript Techdegree Graduate 17,506 Points

    No option to match at line breaks for ^$

    Posted March 20, 2021 2:17am by Jeffrey Holcomb
    .a{fill-rule:evenodd;}techdegree seal-36
    Jeffrey Holcomb
    Full Stack JavaScript Techdegree Graduate 17,506 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Beginning and Ending of Strings

    1 Answer

  • Piotr Manczak
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Piotr Manczak
    Front End Web Development Techdegree Graduate 25,171 Points

    Why does it work? I tried to match regular expressions.

    Posted December 7, 2019 4:03pm by Piotr Manczak
    .a{fill-rule:evenodd;}techdegree seal-36
    Piotr Manczak
    Front End Web Development Techdegree Graduate 25,171 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Groups

    1 Answer

  • Vivian Centeno
    Vivian Centeno
    2,655 Points

    Regex exercise(Group)

    Posted August 31, 2019 12:37am by Vivian Centeno
    Vivian Centeno
    2,655 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Beginning and Ending of Strings

    1 Answer

  • Routine Poutine
    Routine Poutine
    26,050 Points

    Redirect Notice

    Posted August 28, 2019 12:56am by Routine Poutine
    Routine Poutine
    26,050 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • What is a Regular Expression?

    1 Answer

  • huckleberry
    huckleberry
    14,636 Points

    Am I missing something here with the exclude??

    Posted May 5, 2019 9:21am by huckleberry
    huckleberry
    14,636 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Using Wildcard Characters

    1 Answer

  • DANIEL CALDERON V
    DANIEL CALDERON V
    8,407 Points

    How can I do the second exercise?

    Posted December 20, 2018 5:04pm by DANIEL CALDERON V
    DANIEL CALDERON V
    8,407 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Finding Repeated Characters

    6 Answers

  • Aakash Srivastav
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Aakash Srivastav
    Full Stack JavaScript Techdegree Student 11,638 Points

    Regular Expressions - Groups

    Posted July 19, 2018 9:59am by Aakash Srivastav
    .a{fill-rule:evenodd;}techdegree
    Aakash Srivastav
    Full Stack JavaScript Techdegree Student 11,638 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Groups

    2 Answers

  • Kieran Barker
    Kieran Barker
    15,028 Points

    How can I match 'ladybug' and 'fading rug!' in RegEx only using the '?', '.' or '[]' special characters?

    Posted April 8, 2018 1:00pm by Kieran Barker
    Kieran Barker
    15,028 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Matching Specific Characters

    3 Answers

  • nfs
    nfs
    35,525 Points

    What's the answer to practice no.2 in regex excluding characters?

    Posted January 5, 2018 6:10am by nfs
    nfs
    35,525 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Excluding Characters

    5 Answers

  • Julio Akiyama
    Julio Akiyama
    9,068 Points

    Is it correct?

    Posted September 17, 2017 6:05am by Julio Akiyama
    Julio Akiyama
    9,068 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Matching Character Ranges

    1 Answer

  • james berentsen
    PLUS
    james berentsen
    Courses Plus Student 8,981 Points

    I can't get match with #2

    Posted September 13, 2017 1:56pm by james berentsen
    james berentsen
    Courses Plus Student 8,981 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Matching Character Ranges

    4 Answers

  • james berentsen
    PLUS
    james berentsen
    Courses Plus Student 8,981 Points

    I can not match #4 please help

    Posted September 13, 2017 1:37pm by james berentsen
    james berentsen
    Courses Plus Student 8,981 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Matching Specific Characters

    7 Answers

  • Travis Fulton
    Travis Fulton
    13,620 Points

    A better regex tester

    Posted September 12, 2017 4:16pm by Travis Fulton
    Travis Fulton
    13,620 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Matching Specific Characters

    1 Answer

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 91,228 Points

    Matching Character Ranges with Regex

    Posted September 2, 2017 9:29am by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 91,228 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Matching Character Ranges

    2 Answers

  • mohamedmousa
    mohamedmousa
    289 Points

    what is the answer for practice number 1 ??

    Posted August 23, 2017 5:15pm by mohamedmousa
    mohamedmousa
    289 Points
    • JavaScript
    • Regular Expressions in JavaScript
    • Regular Expressions
    • Excluding Characters

    6 Answers

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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.