function strip(text) {
	var a ="0123456789abcdefghijklmnopqrstuvwxyz-"
	//full stops?
	//	a+='.';
	
	var out = ''
	text=text.toLowerCase();
	for (var n=0; n<=text.length; n++){
		for (var i=0; i<=a.length; i++){
			if (a.charAt(i)==text.charAt(n)) {
				out= out+ text.charAt(n);
			}
		}
	}
		//Do not allow emails that start with . or - or
		//Do not allow emails that have 2 or more full stops or hypens that follow on from
		//each other.
		//Do not allow hypehn and full stop next to each other
		if (text.match(/([-]{2})|([.]{2})|([.@]{2})|([.-]{2})|(^\.)|(^-)|(\.$)|(-$)/)) { 
			/*Success!*/ //alert('####'); 
			out = "#";
		}		
	return(out)
}