On Jun 10, 2004, at 3:36 PM, Jochem van Dieten wrote:
>> I need to search for a regular _expression_ and return the data found as
>> opposed to the position it was found at.
>
> REReplace. Make sure you match the entire string and replace it
> with a parenthesed substring.

Here's what I have now.  It searches for e.g. {img123} and replaces it
with Image 123.

#REReplaceNoCase(Form.Text, "\{img([[:digit:]]+)\}", "Image \1", "All")#

How do I extract the 123 portion to be used for another purpose?
--
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to