Fix format validation regex