Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
peso\:(\s)?\d+(.|,)\d+(\s)?kg
/
i

Description

Captures the weight of a product.

Submitted by anonymous - 6 years ago