Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(1(01*0)*1(11)*0*)+
/
gmi

Description

it detects binary numbers divislbe by 3

Submitted by anonymous - 4 years ago (Last modified 4 years ago)