I'm trying to use Regex to change my URL from this:
Into a URL that would look like this:
sign would be replaced with
sign using regex. I think regex is the best solution for this, but I'm not so familiar with writing regex expressions... Can someone help me out with this?
Edit: Guys I have an even better idea... I have the Title name in controller in following format:
92MM BLACK CASE FAN W/ 3 PIN CONNECTOR - Cool & Quiet
How could I write an regex to replace white spaces and remove any extra white space (if there are any) in the string array...
Edit 2: Basically replacing any special character with a
sign... Any ideas?