Regular Expressions 101

Library entries

FEN

Vote

1

Regular Expression
javascript

/
([1-8kqbnrpKQBNRP]{1,8}\/){7}[1-8kqbnrpKQBNRP]{1,8}[\s]{1}[wb]{1}[\s]{1}(([-]{1})|[K?Q?k?q?]{1,4})[\s]{1}([-]{1}|([a-h]{1}[1-8]{1}))[\s]{1}[0-9]+[\s]{1}[0-9]+
/
g

Description

Loading markdown...
Submitted by maxqua72 - 6 years ago