Regular Expressions 101

Community Patterns

Find all ASINs in a text

1

Regular Expression
PCRE (PHP <7.3)

/
(B\d{2}\w{7})
/
g

Description

ASIN = Amazon Standard Identification Number

Submitted by NN - 8 years ago