Group(), Groups() & Groupdict()

  • + 0 comments

    Probably this answer it too late but here it is: [] define a custom character class. It matches anything that you want! So in this case [a-z0-9A-Z] matches any lowercase and uppercase letter and also any number.