Python Insert Variable Into Regex Tester Java