Regular Expressions 101

Community Patterns

i want regex for for following string"abcabcabcabc,*,123412341234"

1

Regular Expression
PCRE (PHP <7.3)

/
^([0-9a-fA-F]{12},)*[^,]$
/

Description

i want regex it should support 12 length character comma seperated string and also it sholud accept multiple "*" init .like above

Submitted by mahesh - 9 years ago