Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\d{2}[A-Z]{5}\d{4}[A-Z]\d\w{2}
/
gm

Description

Detects Indian GST numbers (Goods & Services Tax). Based on https://groww.in/p/tax/gstin

Submitted by anonymous - 2 years ago