I have the following RegEx to parse ISIN of bonds, assets, etc.. (2 characters followed by 10 digits and characters)
([A-Z]{2})([A-Z0-9]{10})
But this also marks for example a word like this ABCDEFGHIJKL
, but this is no real ISIN. A definition of ISINs is here: WIKI
So some examples are US45256BAD38
, US64118Q1076
, XS0884410019
. What would be the correct RegEx to search for them, without matches like ABCDEFGHIJKL
?
Maybe with a RegEx to have at least one number?