Skip to content

ItalianIban

Giuseppe Cannella edited this page Feb 19, 2020 · 2 revisions
Type name example
ItalianIban IT28 W800 0000 2921 0064 5211 151
import com.github.gekomad.regexcollection.ItalianIban
import com.github.gekomad.regexcollection.Validate.validate
assert(validate[ItalianIban]("""IT28-W800-0000-2921-0064-5211-151""") == None)

assert(validate[ItalianIban]("""IT28 W800 0000 2921 0064 5211 151""") == Some("""IT28 W800 0000 2921 0064 5211 151"""))
assert(validate[ItalianIban]("""IT28W8000000292100645211151""") == Some("""IT28W8000000292100645211151"""))

Clone this wiki locally