you could use document.hash = "#"; to remove everything behind the # character. for some reason if I use document.hash = ""; the page keeps reloading indefinetly... hah
Ramiro On Aug 31, 2:08 pm, cfdvlpr <[EMAIL PROTECTED]> wrote: > Here's what my url looks like: > > http:/.com/test.cfm/title.test-size.testSize- > color.testColor#title.test2-size.testSize-color.testColor2 > > I want to remove the middle part of this url which is "title.test- > size.testSize-color.testColor" > > Is there a a regular expression that will remove this part of the url? > Or, is there another way to do this?