Ken, This is really great!!!! What a poweful regular expression of RR! I always think that PERL has the most poweful regular expression. I need to learn more about the regular expression of RR now. Thanks again for your help. Alex
Ken Ray <[EMAIL PROTECTED]> wrote: On 2/3/06 8:58 AM, "alex wu" wrote: Alex, You can also use regular expressions to do this: get matchText(tData,"(?s)FIXED WORDINGS HERE(.*?)ANOTHER FIXED WORDINGS HERE",tVal) and now 'tVal' contains the data between the two sections. If you want to actually start on the next *line* after FIXED WORDINGS HERE and end at the line before ANOTHER FIXED WORDINGS HERE, you can do this: get matchText(tData,"(?s)FIXED WORDINGS HERE\n(.*?)\nANOTHER FIXED WORDINGS HERE",tVal) HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution --------------------------------- Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
