Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(\d+|one|two|three|four|five|six|seven|eigth|nine|ten)\s(cups?|cp|fluid ounces?|oz|pints?|pt|quarts?|qt|gallons?|gal|desertspoons?|dstspn|teaspoons?|tsp|tablespoons?|Tbsp)
/
gmi

Description

no description available

Submitted by anonymous - 6 years ago