Regular Expressions 101

Library entries

Retailer Regex

Vote

1

Regular Expression
pcre

/
(?<!\d|-|\/|to|\$)(?<!\$(\d)\.)([1-9][0-9]{0,2}(\.\d{0,2})?\s?)(lbs|lb|LBS|LB|KG|kg|G|g|L|l+)(?!\d|\w)
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago