I would like to use a regular expression to camouflage email addresses in a forum I'm building. I'd like to replace just the domain name (not the .com or .net or other extension though) with x's:
FROM THIS: [EMAIL PROTECTED] TO THIS: [EMAIL PROTECTED] Where the number of x's exactly matches the number of characters replaced. Make sense? It should work with kludgy domain names having dashes in them too (are there any other characters allowed? I don't think so) like so: FROM THIS: [EMAIL PROTECTED] TO THIS: [EMAIL PROTECTED] Can anyone help me out with this? TIA Karl S. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270259 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4