If you don't mind a loop solution: http://cflib.org/index.cfm?event=page.udfbyid&udfid=889
Adrian -----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 02 October 2008 18:15 To: regex Subject: Capitalize first letter of all words. The trick being that this has to work on a ColdFusion 4.5 server, so the /u switch is apparently out! I have reReplace(myString,'(^.| .)','-\1-','ALL') working so that it captures the first character of all the words. Now I need to find away to convert the back reference to an upper case version of itself. Anybody got any ideas? TIA IAN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1176 Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
