How to "retrieve" only useful information in a long list
alex298298 at yahoo.com
Sun Feb 5 20:15:03 CST 2006
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.
Ken Ray <kray at sonsothunder.com> wrote:
On 2/3/06 8:58 AM, "alex wu" wrote:
You can also use regular expressions to do this:
get matchText(tData,"(?s)FIXED WORDINGS HERE(.*?)ANOTHER FIXED WORDINGS
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
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
More information about the use-livecode