I need to validate that a submitted MIME type does not have a newline character using regex
===

I have tried:

    [RegularExpression(@"/n", ErrorMessage = "Error")] // Needs to not allow newline characters
    public string ImageMimeType { get; set; }

but it always fails when I attempt to upload a legitimate `.bmp` file.

I am not sure how to format this line appropriately to prevent newline characters.

Also - are there any other considerations I should take when validating a MIME type?
