extracts PAN number from a valid GSTIN number
Edit anything to remix
JavaScript

Expression

/
/igm
Test bench

Sample text

6 matches
Structure

Railroad diagram

Live

Strings that match

  • 22ABCDE1234F1Z5
  • 11GHIJK1234L1Z5
  • 33PQRST5678L1Z5
  • 34UVWXY5678L1Z5
  • 35PQRST5678L1Z5
  • 22ABCDE1234F1Z5

Strings that don’t match

  • Every sample above matches.