Regular Expressions 101

Community Patterns

mask the credit card number

2

Regular Expression
PCRE (PHP <7.3)

/
[0-9](?=.*.{4})
/
gmi

Description

no description available

Submitted by vj - 9 years ago