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.
私が探している正規表現は次のとおりです。
例:
test1546 = OK
vqa._96 = OK
1test_ = KO
_test1546 = KO
どうもありがとう!;)
次の正規表現を試してください。
/^[a-zA-Z]{3}[\w.-]*$/
説明:
^
$
[a-zA-Z]{3}
\w
[A-Za-z0-9_]