jquery バリデータ プラグインを使用してフォームを検証します。この regexp に適切な値を必要とするフォームの existscurrencyフィールド^\d{1,9}(\.\d{1,2})?$。以下は私のjsコードスニペットです。
$("#myForm").validate({
ignore:[],
rules:{
currency:{
required: true
}
.....
}
}
質問: 上記の正規表現をcurrencyフィールドに設定するにはどうすればよいjqueryですか?