Using a regex to check DISPLAY