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
r"
(\d{16})[\/\s:|]*?(\d\d)[\/\s|]*?(\d{2,4})[\/\s|-]*?(\d{3})
"
gm
Input 1
1
4400634848591837Cvv: 362Expm: 04Expy: 20 4400634848591837:04 20 362 4400634848591837|04/24 362 4400634848591837 0420 362
Substitution
4400634848591837Cvv: 362Expm: 04Expy: 20 4400634848591837:04 20 362 4400634848591837|04/24 362 4400634848591837 0420 362