Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Reg Exp</title>
<script langauge="JavaScript">
function strp(str){
re = /(\()(.*)(\))/;
nwstr = str.replace(re,"$2");
alert(nwstr);
}
</script></head><body>
<input type="text" id="seek" size="35"
onChange="strp(this.value)">
</body></html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Reg Exp</title>
<script langauge="JavaScript">
function cktxt(frm,el,opt){
if(frm.t.value.indexOf(el.options[opt].text)!= -1){
alert("You already picked that one..try again.");
return; }
else {
frm.t.value += el.options[opt].text+';';
return; }
}
</script></head><body>
<form>
<input type="text" name="t" size="35">
<select onchange="cktxt(this.form,this,this.selectedIndex)">
<option>
<option value="1">james@bond.com
<option value="2">matt@horne.com
<option value="3">hugh@grant.com
</select></form></body></html>
var str = "(mymail@server.com)";
str = str.replace(/\(|\)/g, "");
<script language="JavaScript">
var str="(mymail@server.com)"
str=str.substring(1,str.length-1)
</script>
james@bond.com
james@bond.com
james@bond.com;
function cktxt(frm,el,opt){
if(frm.t.value.indexOf(el.options[opt].text)!= -1){
alert("You already picked that one..try again.");
return; }
else {
if(frm.t.value.length > 1){
frm.t.value += ';'+el.options[opt].text;
return; }
if(frm.t.value.length < 1){
frm.t.value += el.options[opt].text;
return; } }
}