Ideas with REGEX Formatting
<p>Can anyone help please.
I am trying to figure out a Regex format for some data, but am struggling with its complexities.</p>

<p>I want to format some Latitude EditText in the format </p>

<p>"N5123.5" </p>

<p>The first digit must be either N or S (or n or s)
There must be then exactly 4 numerics, exactly 1 full stop
and then exactly 1 digit. Therefore the length must be exactly 7 characters long.
I have tried various although the one I believed it to be was</p>

<pre><code>static final Pattern LAT_PATTERN = Pattern.compile("^[NSns]{1}[0-9]{4}[.]{1}[0-9]{1}");
</code></pre>

<p>However this doesn't work.
Any experts out there could help please.</p>
