Use of RegEx replace for Friendly Url

Use of RegEx replace for Friendly Url