Hi,

Then you can try this:

on mouseUp
     put "/point-item[0-9]+-landed.html" into myFilter
     put fld 1 into myData
     filter myData with regex pattern myFilter
     put myData
end mouseUp

This is a LiveCode example, but you can apply the regex "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with and without escaping the slash and dashes, but escaping seems unnecesary. If the regex doesn't work in PHP or Perl, maybe you could try

\/point\-item[0-9]+\-landed.html

but I haven't tested if this would be necessary.

--
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:27, Magicgate Software - Skip Kimpel wrote:
The results I want returned are:

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to