Regex Help
Magicgate Software - Skip Kimpel
skip at magicgate.com
Fri Sep 26 16:27:03 EDT 2014
Thanks Mark,
Actually look for the regex version as I will be applying that externally
before feeding into LC. Here is a sample of the data:
/point-item1-landed.html
/point-about.html
/point-test.html
/point-item2-landed.html
/point-item300-landed.html
The results I want returned are:
/point-item1-landed.html
/point-item2-landed.html
/point-item300-landed.html
Thanks for your input!
On Fri, Sep 26, 2014 at 4:17 PM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:
> Hi,
>
> It could be something like this:
>
> on mouseUp
> put "*/point-*-landed.html" into myFilter
> put fld 1 into myData
> filter myData without myFilter
> put myData
> end mouseUp
>
> but if this doesn't work, you'll have to post an actual sample of your
> data.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Installer Maker for LiveCode:
> http://qery.us/468
>
> Buy my new book "Programming LiveCode for the Real Beginner"
> http://qery.us/3fi
>
> LiveCode on Facebook:
> https://www.facebook.com/groups/runrev/
>
>
> On 9/26/2014 22:04, Magicgate Software - Skip Kimpel wrote:
>
>> Hey LC / Regex gurus,
>>
>> I need help creating a regular expression that will filter out all
>> instances where the pattern looks like this:
>>
>> /point-XXXXXXX-landed.html
>>
>> Obviously the "XXXXXX" section varies from item to item and is also of
>> different character lengths.
>>
>> Anybody willing to give this a shot?
>>
>> SKIP
>>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list