Add regex to view.