Page 1 of 1

How do I change underscores to dashes?

Posted: Fri Jan 10, 2014 8:39 am
by AbleMods
I've got a site with IIS URL Rewriter installed. And Able has it's own URL rewriter. But I can't figure out how to get either one to replace underscores with dashes. I think I'm allergic to RegEx!!

ex: http://www.mysite.com/product_brand_name_title.aspx to http://www.mysite.com/product-brand-name-title.aspx

Any suggestions?

Re: How do I change underscores to dashes?

Posted: Fri Jan 10, 2014 12:02 pm
by NC Software
Joe, if you're not familiar with www.stackoverflow.com I highly recommend using it for general programming etc. questions and you'll get your answers much faster than here.