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.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270252
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to