Matching One Or More Repetitions

Sort by

recency

|

61 Discussions

|

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

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

  • + 0 comments

    Regex_Pattern = r'^\d{1,}[A-Z]+[a-z]+$'

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