How to check in Java with regular expression if some string matches with
Monday ptnumber Operating Mode
where number ( after pt ) has concrete value like 0,1,…99,.. – any integer?
Mondaypt and Operating mode are hardcoded just number can change in string.
This will also extract the number.