Added regex functionality for normalizing urls