Concerned about lot of regular expression test in curriculum/challenges/****.md

while trying to fix issues in codebase, i am seeing many regular expression to check if the user code snippet. and these checks are repeated in many files. I have a few questions regarding this ,

-1. why are we using regular expression at all, don’t we have some external library to do so, and if not why don’t we make one

-2. we are repeating certain checks in many repeated file, why don’t we make some kind of mechanism to structure our code well

we are happy to receive contributions, if you have any suggestions on what tools to use, please open an issue on github