Analyzing unanticipated string input presents a unique dilemma for programmers and data scientists. Often, these inputs deviate from the strict formats expected, leading to probable errors if not handled appropriately. One frequent scenario involves dealing inputs with incorrect syntax or redundant characters. To mitigate these issues, robust error