I'm trying to make sure that an entry is formatted like 1 followed by 10 digits at least.
I'm trying

Code:
if(f.match(/^\1\d{10,}$/)) {
	document.getElementById("maindiv").style.display="block"}
Why is this not working. How do I fix it.
There is a warning saying NO SPACES OR DASHES etc..

Thanks