In Pyhton can use re.compile() to check regex string, and in Java can use Pattern.compile()...
re.compile()
Pattern.compile()
However, my use case is that I have two systems,