Regular Expressions 101

Sponsors

Library entries

1
pcre2

order by field and direction

order by field and direction
Submitted by anonymous - 8 months ago
1
java

Rick Roll

Matches chorus of Never Going to Give You Up
Submitted by Stephen Battista - 8 months ago
1
pcre2

Variable, -> "Variable",

Add "" to variable before comma
Submitted by anonymous - 8 months ago
1
pcre2

basic

rast
Submitted by anonymous - 7 months ago
1
pcre2

Email Match

matches on emails.. try it
Submitted by Singh - 7 months ago

Dice-Throwing notation

Vote

2

Regular Expression
pcre2

/
^(?<numberExpression>(?<numberDice>[0-9]+)(?<gaussExpression>[oO]?(?<gaussDices>[0-9])+(?<gaussModifier>[\+\-])?)?)?[dD](?<faces>[0-9]+)(?<exploding>[¡!]{0,2})(?<modifierExpression>[\+\-](?<modifierValue>[0-9]+))?(?<thresholdExp>:(?<thresholdValue>[0-9]+))?
/
gm

Description

Loading markdown...
Submitted by Hermes - 3 months ago