Code: Select all
let>fen={"8/6pk/p2q3p/1p5P/2pbQ3/P1N5/1P3PP1/6K1"}
let>pattern=[<pnbrqk>]
regex>pattern,fen,1,matches,num,0
mdl>num

I have looked at this forum thread http://www.mjtnet.com/forum/viewtopic.p ... pper+lower and have also looked at the website for EasyPatterns at http://www.datamystic.com/easypatterns_reference.html but I am not making any progress. I am fairly new to RegEx and any help would be appreciated
