次の形式であるかどうかをテストしたい文字列があります。
exactly seven alphabetical OR numerical characters, followed by a '_', followed by
exactly five alphabetical OR numerical characters, followed by a '_', followed by
exactly seven alphabetical OR numerical characters, followed by a '_', followed by
exactly nine alphabetical OR numerical characters.
No other characters should exist other then the above mentioned characters.
説明と一致する場合は true、一致しない場合は false を返す関数が欲しいです。
編集: 英字と数字を混在させることができます。