Use correct regEx for every operation system