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.
以下の文字列のパターンを知りたいです。
例:test [123],test,123test,1234
test [123],test,123test,1234
文字列にアルファベット、数字、および角かっこ (開始、終了) が含まれている場合、パターンは同じものに一致する必要があります。
"[a-zA-Z\\d\\[\\]]+"
あなたの要求は曖昧です...コンマはどうですか?そしてスペース?