Regular Expressions 101

Community Patterns

1

sophos

Python
my first one
Submitted by bwl - 8 years ago
1

---

ECMAScript (JavaScript)
Submitted by rs - 8 years ago
1

me

Python
me
Submitted by me - 8 years ago
1

me

Python
paypal accounts
Submitted by jhon - 8 years ago

chess move detector

1

Regular Expression
ECMAScript (JavaScript)

/
^((?:[NBRQK]([a-h1-8])?x?(?!\2)[a-h](?!\2)[1-8]|[NBRQK]x?[a-h][1-8]|(?:[a-h]x)?[a-h](?:[1-8](?:\(ep\))?|[18]=[NBRQ])|(?:0-){1,2}0)\+{0,2})$
/

Description

Loading markdown...
Submitted by Terence Linnell - 8 years ago