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.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270251
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