Put regex into configuration