通常の検証は次のとおりです。Javascriptを複数の電子メールの正規表現の検証
/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/
のような電子メールを検証します。しかし、メールが複数あるかどうかを検証する方法?
entry 1: [email protected], [email protected], [email protected]
entry 2: [email protected] , [email protected] , [email protected]
entry 3: [email protected], [email protected] , [email protected]
entry 4: [email protected]
このメールは、ユーザーが入力する可能性のあるエントリです。また、2つまたは3つまたは4つ以上の電子メールが時々期待されます。
お返事ありがとうございます。