RE: Filter barcode out of a string (with grep?)
RE: Filter barcode out of a string (with grep?)
- Subject: RE: Filter barcode out of a string (with grep?)
- From: email@hidden
- Date: Wed, 18 Jul 2012 11:14:28 +0200
hi Bert,
Try this:
You will need the scripting addition Satimage.osax
set TheVar to "one;two;0123456789123456;tuesday;green"
set BarcodeFinder to find text "[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]" in TheVar with regexp and string result
display dialog BarcodeFinder
Best regards,jan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden