Skip to main content
AllDevToolsHub
Back to all patterns

ISO 4217 Currency Code

Validation

Matches a 3-letter uppercase ISO currency code (USD, EUR, GBP, ...).

/^[A-Z]{3}$/

How it works

ISO 4217 codes are exactly 3 uppercase ASCII letters. As with country codes, this is a shape check, not a membership check.

Test Cases

Should Match

  • USD
  • EUR
  • JPY
  • INR

Should NOT Match

  • usd
  • US
  • USDD

Quick Summary

Matches the shape of an ISO 4217 currency code (3 uppercase letters).