Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
英数字と特殊文字'-','_','&'のみを許可する正規表現。この正規表現を試しましたが、うまくいきません!
'-','_','&'
var testexp=/^[a-zA-Z0-9-_&]+$/;