美国银行业机构帐号正式表达? [英] United States Banking Institution Account Number Regular Expression?

查看:218
本文介绍了美国银行业机构帐号正式表达?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的任务是验证我正在开发的网络应用程序的美国银行业协会帐户的帐户数量。我找不到任何东西,通过SOF,谷歌,美联储储备等,概述了我们在美国的帐号的标准长度。为了纪录,我相信这是徒劳的。



如果有人可以指出我在网络上的任何官方文档,或者有一个正则表达式的例子,或者知道是否有标准的存在,我会非常感激。



ADDED:



回复是压倒性的,他们是没有标准的....有人曾经遇到一个不完全数字的银行帐号\



添加:



感谢大家和他们的回应。由于美国没有标准,我们不会执行长度检查,我们将把该号码存储为一个varchar,因为银行可能会在其帐号中分配字母字符。似乎99.999999%我们认为不切实际,但没有标准的方式,我们将接受字母字符,并运行支票的帐号,以验证它是否工作。再次感谢!

解决方案

美国银行帐号没有标准。



IBAN不在美国使用。



ACH交易(4-17位数字)有一个限制,但并不是所有的交易都必须是ACH



是的,美国银行系统是过时的。



我在看DW仓库)38个不同的系统在银行和帐户的长度根据产品而有很大的不同。系统中的几个系统在帐号中有字母字符。这可能是无关紧要的,因为它们是特殊类型的客户帐户,如经纪帐户和其他不能通过ACH访问的东西 - 您需要指定您感兴趣的帐户类型。如果您限制自己可以获得的帐户通过ACH,您可以简单地限制为数字。



您可以在以下网址获得更多有关ACH的信息: http://www.nacha.org/


I have been tasked to "verify" the length of a U.S. Banking Institution ACCOUNT NUMBER for a web app I'm developing. I cannot find anything through SOF, Google, Fed reserve etc that outlines an account number standard length that we have in the United States. For the record I believe this is futile.

If someone could point me to any official documentation on the web, or has an example regular expression, or knows if there is a standard that exists, I would appreciate it greatly.

ADDED:

What would interest me even more since the response is overwhelming that their is no standard....has anyone ever run into a bank account number that is not completely "numeric"\

ADDED:

Thanks to everyone and their responses. Due to having no standard in the US, we are not going to enforce a length check, and we are going to store the number as a varchar due to the fact that it may be possible that a bank may assign alpha characters in their account numbers. Seems 99.999999% unrealistic in our view, but no standard means we will accept alpha characters and run the check on the account number to verify if it works or not. Thanks again all!

解决方案

There is no standard for US banks' account numbers.

IBAN is not used in the US.

There is a limit for ACH transactions (4-17 digits), but not all transactions have to be ACH.

And yes, the US banking system is antiquated.

I'm looking at a DW (Data Warehouse) of 38 different systems at a bank and the length of account varies widely depending on the product. Several of the systems have alphabetic characters in the account numbers. This is probably irrelevant since they are special types of customer accounts like brokerage accounts and other things which aren't accessible through ACH - you need to specify what kind of account you're interested in. If you restrict yourself to accounts which you can get to through ACH, you can simply restrict to numeric digits.

You can get a lot more information about ACH at: http://www.nacha.org/

这篇关于美国银行业机构帐号正式表达?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆