pattern accept all keyboard keys with minimum and maximum length in html textbox

 got the answer...

this is the pattern ^[A-Za-z0-9s!#$&#64;%^&*()_+=-`~\][{}|';:/.,?><]

原文地址:https://www.cnblogs.com/happy-Chen/p/3682210.html