Police have snared drivers using a pedestrianised town centre street as a “rat run”.