Excluding Specific Characters

Sort by

recency

|

84 Discussions

|

  • + 0 comments
    Regex_Pattern = r'^[^0-9][^aeiou][^bcDF][^\s][^AEIOU][^.,]$'
    
  • + 0 comments
    Regex_Pattern = r'^[^\d][^aeiou][^bcDF][^\s][^AEIOU][^\.\,]$'
    
    import re
    
    print(str(bool(re.search(Regex_Pattern, input()))).lower())
    
  • + 0 comments

    Regex_Pattern = r'^\D[^aeiou][^bcDF]\S[^AEIOU][^.,]$' # Do not delete r

  • + 0 comments

    Regex_Pattern = r'^[^0-9][^aeiou][^bcDF][^\s][^AEIOU][^.,]$'

  • + 0 comments
    Regex_Pattern = r'^[\D][^aeiou][^bcDF][\S][^AEIOU][^.,]$'