• + 2 comments

    why this regex not worked for testcase 1 (Mr#DOSHI) is matched correctly how ?

    **explain anyone **

    r'^(Mr.|Mrs.|Dr.|Er.){1}[a-zA-Z]+$'