Why not just use
j=findnocase("ResponseMessage=",string_responseMessage)
k=find("-->",string_responseMessage,j)
and take the string between those two.
I realize it is not as elegant as using RE but in this case it might be
easier.
----- Original Message -----
From: "Robert Weimer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 3:07 PM
Subject: Stopping REFindNoCase
> I need to find the position of a string matching the following
> convention. I need to retrieve the string value after the equal sign -
>
> <!--ResponseMessage=There will be a sentence here, with punctuation.-->
>
> I've got the following, which "works," but takes way too long.
>
> var_ResponseMessage=
indNoCase("(ResponseMessage=)(([A-Za-z0-9]*(
> )*([,|/.])*)*)", string_ResponseMessage, 1, True)
>
> I the REFindNoCase RE expression can stop as soon as it hits the '-->'
>
> Any help would be greatly appreciated, RE is not my forte!
>
> Thanks,
>
> Robert
>
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.