Matching Word & Non-Word Character

Sort by

recency

|

79 Discussions

|

  • + 0 comments

    I also think some of the introductory challenges are a bit unclear. The given string that we want to match seems that the length is fixed, but then my initial idea to anchor the beginnning and end of the string doesn't work: r"^_stuff%" doesn't work. The questions can be more clearly phrased in this sense.

  • + 0 comments

    It can seem intimidating at first, but once you understand the patterns, it’s amazing how quickly you can search, match, or clean up data with just a few characters. Cricbet99 Login

  • + 0 comments
    Regex_Pattern = r"\w+\W\w{10}\W\w{3}"
    
    import re
    
    print(str(bool(re.search(Regex_Pattern, input()))).lower())
    
  • + 0 comments

    r"\w{3}\W\w{10}\W\w{3}"

  • + 0 comments

    It provides a concise yet informative breakdown of their respective functions. 11x play pro