Reading text file and removing specific characters
<p>After someone inputs a text file, I have to make it so it will read the text file that the user inputted.</p>

<p>Using a switch statement, how do I make sure the first word and last word doesn't have a specific character?</p>

<p>The first word should not have a single-quotation mark, double-quotation mark, a dollar sign, or a period.</p>

<p>The last word should not have a single-quotation mark, double-quotation mark, semi-colon, colon, period, comma, hyphen, exclamation point, or question mark remove it.</p>

<p>I am using hasNext in my while so that it prints each word on one line.</p>
