replace help

rottinam <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hi,

I need to replace all characters that are not numbers or letters (i.e. ' ?
etc) with a dash.

I am at this point: ${post_foo?replace(' ','-')}

Thanks for any help you can provide.
-ro
-- 
View this message in context: http://freemarker.624813.n4.nabble.com/replace-help-tp2251263p2251263.html
Sent from the freemarker-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.