Regular Expressions 101

Community Patterns

106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago

Dice Regex with Modifier

2

Regular Expression
PCRE (PHP <7.3)

/
roll (\d+)d(\d+)([\+-]\d+)?$
/
ig

Description

Loading markdown...
Submitted by derek robati - 9 years ago