Replace queens library card. replace the regex is passed the match object, i.