Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
x
Retailer Regex
Open Workspace
JavaScript
Match
Created 2020-04-21 19:52
0
Regular Expression
/
(?<!
\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
No description provided.
Submitted by
Anonymous