probably like this...
#reReplace("falls_bridge_original.jpeg", "^(.+?)(_original)?\.\w+$", "\1")#
--
nathan strutz
http://www.dopefly.com/
On Tue, Mar 25, 2008 at 3:30 PM, Rick Faircloth <[EMAIL PROTECTED]>
wrote:
> Can't seem to figure this one out...
>
> How would I select "falls_bridge"
> out of "falls_bridge_original.jpg"?
>
> It would also need to work to select "falls_bridge"
> our of "falls_bridge_original.jpeg"
>
> And it would need to be able to select "roanoke"
> out of "roanoke_original.jpg"...
>
> So, in other words, the only constant would be
> the "_original." part.
>
> It could be "How do I get everything to the left
> of "_original" in a string with an extension after "_original".
>
> Anyone?
>
> Thanks,
>
> Rick
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302062
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4