Matching Zero Or More Repetitions

Sort by

recency

|

75 Discussions

|

  • + 0 comments
    Regex_Pattern = r'^\d{2,}[a-z]*[A-Z]*$'
    
  • + 0 comments
    Regex_Pattern = r'^\d{2,}[a-z]*[A-Z]*$'
    
    import re
    
    print(str(bool(re.search(Regex_Pattern, input()))).lower())
    
  • + 0 comments

    Regex_Pattern = r'^\d{2,}[a-z][A-Z]$' # Do not delete 'r'.

  • + 0 comments
    Regex_Pattern = r'^\d{2,}[a-z]*[A-Z]*$'	# Do not delete 'r'.
    
  • + 0 comments
    Regex_Pattern = r'^\d{2,}[a-z]{0,}[A-Z]{0,}$'	# Do not delete 'r'.