Updated web page to use regex