I'm trying to build a regular expression that only accepts images from "http://pics.mysite.com" (part of an antisamy policy)
my expression: ^((http\:\/\/pics\.mysite\.com) + ([a-zA-Z\.]))*$ the intention is to allow "http://pics.mysite.com/xxx.jpg" and disallow http://anyOtherSite.com/xxx.jpg can anyone see where I'm going wrong? Andrew ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328819 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4