Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
[A-Za-z]{5}\d{4}[A-Za-z]{1}
/
gm
Input 1
1
New
This is a pan number aaupx9983r. This is not a pan number txtv8999g. This is another pan number bjppr6578p. This is not a pan number 67896dxcv9.
Extraction