Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<!.)[\d,]*[02468](?(?!.)|\.[0]*$)
/
D

Description

Input a number and check if it is even

Submitted by anonymous - 17 days ago