lucy24 - 8:47 pm on Jul 1, 2011 (gmt 0)
You're not capturing the string "folder1" by itself. You have to capture it in order to get rid of it. Or, in this case, to replace it. Don't do anything else with the rest of the address; you don't need anchors unless you've carelessly used the "folder1" name in some other unrelated location too.
Use "example.com". The forums convert everything else-- even if it's just as phony-- into an active link. We need to see what you actually typed.