User blog:HALnerd/In need of new template!

Hey, can anyone make a template that takes the name of an article and turns all spaces into underscores?

I.E. from "Page Example" to "Page_Example"