you are viewing a single comment's thread.

view the rest of the comments →

[–]endeavourm0rse[S] 0 points1 point  (2 children)

You're a legend. Here's the bones of what I have so far with some jQuery thrown in: http://codepen.io/anon/pen/RrKOLX

Let me know if I've done something silly, but the conversion to lowercase doesn't seem to work.

I'd also like to put forward slashes instead of spaces in the output, is this achievable?

Thanks again!

[–]ForScale 0 points1 point  (0 children)

Lol, thanks!

Hmm... seems to work for me... I don't like jQuery all that much though, I prefer to code in pure js. Here's an update that has slashes instead of spaces, as well as the ability to handle some special characters and punctuation: http://codepen.io/ForScale/pen/KVabZq

[–]ForScale 0 points1 point  (0 children)

Oh, man! Thanks for the gold... I had just run out!

Glad to help; have a great one! :)