开发者

ASP.NET Regular Expression needed for checking valid DB DataType of Money

Hey Looking for a regular expression which I can use to check for valid DB types of Money.

I.e. Examples

9.8600 11.5400

Che开发者_运维问答ers


\d+.\d{4}

Would match the two examples you give.

Regex.IsMatch("11.5400 ", @"\A\d+.\d{4}\Z");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜