Skip to content

Instantly share code, notes, and snippets.

View adamsilver's full-sized avatar

Adam Silver adamsilver

View GitHub Profile
<table>
<thead></thead>
<tbody></tbody>
<tfoot></tfoot>
</table>
<table>
<thead></thead>
<tfoot></tfoot>
<tbody></tbody>
</table>
<form>
<!-- Added button to top -->
<input type="submit" name="continue" value="Continue" />
<div>
<label for="firstName">First name</label>
<input type="text" name="firstName" id="firstName" />
</div>
<div>
<label for="lastName">Last name</label>
<input type="text" name="lastName" id="lastName" />
<form>
<h2>Post code finder</h2>
<div>
<label for="postcode">Postcode</label>
<input type="text" name="postcode" id="postcode" />
<input type="submit" name="checkPostcode" value="Check postcode"/>
</div>
</form>
<form>
<div>
var re = new RegExp("^([a-zA-Z])$");
var re = new RegExp("^([a-zA-Z\])$");
var re = new RegExp("^([a-zA-Z\\])$");
var myString = "hello there \" "; // this will output: hello there "
var re = new RegExp("^([a-zA-Z\\\\])$");
var re = /^([a-zA-Z\\])+$/; // without instantiating it (in quotes)var re2 = new RegExp("^([a-zA-Z\\\\])+$");