View Single Post
Old 08-06-2017, 05:33 PM   #6
peekpoke
Enthusiast
peekpoke began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Dec 2013
Device: Kindle/Android
Quote:
Originally Posted by kovidgoyal View Post
Add a $ at the end to match only values of ten characters
Code:
([a-zA-Z0-9]{10})$
Sadly, the $ doesn't appear to work, it matches both

B071F9WGRQ
and
B071F9WGRQ-ABC

So it matches all the long form MOBI-ASIN identifiers.

I tried a few other variations, but it seems like the regular expressions are acting strangely on indentifiers?
peekpoke is offline   Reply With Quote