> That's great Jerry! Thanks! That does most of what I need. > I think the majority of the 'case' problems will just be > where the first letter is capitalised.
> One thing I've noticed though is that if you have 'ben > ben' it only replaces the first 'ben' with 'mike'. So it > becomes 'mike ben'. > Weird. > But thanks for the efforts, that's cool! Yea, what happens is that it sees the first instance of " ben "... but because the space on the end of that is also part of the space on the beginning of the next " ben " it doesn't see the 2nd iteration because the string it's looking at begins with "b" not " ". So if you want to get them all even when they're back to back, you have to run the same regex twice. hth s. isaac dealey 972-490-6624 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

