Restricting Words and Monitoring Violations