2013-12-13 34 views

回答

7

你可以使用match()方法:

if (curr_symb.match(/[a-zA-Z0-9]+$/)) { ...} 
+0

或'/ [A-Z0-9] + $/I ' –

相關問題