add $ to regex and remove \b and \ from regex -- drop `tr` from pipeline