Regular Expressions 101

Community Patterns

9999

1

Regular Expression
ECMAScript (JavaScript)

/
^\({1,4}[9][\*\-\+\/][9]\)?[\*\-\+\/][9]\){0,2}[\*\-\+\/][9]\){0,1}
/

Description

Using exactly four 9s and no other digits, write an equation which evaluates to 100

Submitted by GMiller - 9 years ago