<cfif
reFindNoCase("\Ahttp://pics\.mysite\.com/.*?\.(gif|jpg|jpeg|png|bmp)\Z",picUrl)
EQ 0>
// don't allow the pic
</cfif>
There is no reason to escape the : or the / like you've done in your
example. Neither of those are special characters.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:328821
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4