Check text file format in java
<p>I have the code to check a text file line-by-line but I am unsure how to check for a specific format.  If the text file is in the following format print out the content, otherwise dipslay a message saying "File is not correct."</p>

<p>The first line of the should start with an S, and every line consists of any upper-case, followed by a colon, than any letter, number or e.</p>
