How can I use a regular expression to validate the latitude and longitude for these text fields and display an error message?
<div class="form_style">
<fieldset>
<label for="contentText" class="fixedwidth">Name:</label>
<input type="text" name="content_txt" id="contentText" class="inputtext" ><br/>
</fieldset>
<fieldset>
<label for="address" class="fixedwidth">Address:</label>
<input type="text" id="address"class="inputtext" /><br/>
</fieldset>
<fieldset>
<label for="lat" class="fixedwidth">Lat:</label>
<input type="text" id="lat"class="inputtext" /><br/>
</fieldset>
<fieldset>
<label for="lng" class="fixedwidth">Lng:</label>
<input type="text" name="lng" id="lng"class="inputtext" /><br/>
</fieldset>
<fieldset>
<label for="type" class="fixedwidth">Type:</label>
<input type="text" id="type"class="inputtext" /><br/>
</fieldset>
<button id="FormSubmit">Add Marker</button>
</div>