If you want to verify "AB.12" but "ABx12" is also passing, check if the dot is being specified as a literal character. In Python's regular expressions, . usually matches any character except a newline ...
Master Python strings! This workbook explores string manipulation, basic Python formatting, and essential methods to handle text data, empowering your students’ to work efficiently with text. This ...