Re: Help with find text command
Re: Help with find text command
- Subject: Re: Help with find text command
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 1 Aug 2007 14:19:26 -0400
Here's the monster regex - replaced [[:digit:]] with [0-9] just to keep it shorter. Can use \d in Perl and systems with Perl-compatible regex parsers...
[0-9]{7}-[0-9]-[0-9]-[0-9]|[0-9]{6}-[0-9]{2}-[0-9]-[0-9]|[0-9]{6}-[0-9]-[0-9]{2}-[0-9]|[0-9]{6
}-[0-9]-[0-9]-[0-9]{2}|[0-9]{5}-[0-9]{3}-[0-9]-[0-9]|[0-9]{5}-[0-9]{2}-[0-9]{2}-[0-9]|[0-9]{5}
-[0-9]{2}-[0-9]-[0-9]{2}|[0-9]{5}-[0-9]-[0-9]{3}-[0-9]|[0-9]{5}-[0-9]-[0-9]{2}-[0-9]{2}|[0-9]{
5}-[0-9]-[0-9]-[0-9]{3}|[0-9]{4}-[0-9]{4}-[0-9]-[0-9]|[0-9]{4}-[0-9]{3}-[0-9]{2}-[0-9]|[0-9]{4
}-[0-9]{3}-[0-9]-[0-9]{2}|[0-9]{4}-[0-9]{2}-[0-9]{3}-[0-9]|[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{2}
|[0-9]{4}-[0-9]{2}-[0-9]-[0-9]{3}|[0-9]{4}-[0-9]-[0-9]{4}-[0-9]|[0-9]{4}-[0-9]-[0-9]{3}-[0-9]{
2}|[0-9]{4}-[0-9]-[0-9]{2}-[0-9]{3}|[0-9]{4}-[0-9]-[0-9]-[0-9]{4}|[0-9]{3}-[0-9]{5}-[0-9]-[0-9
]|[0-9]{3}-[0-9]{4}-[0-9]{2}-[0-9]|[0-9]{3}-[0-9]{4}-[0-9]-[0-9]{2}|[0-9]{3}-[0-9]{3}-[0-9]{3}
-[0-9]|[0-9]{3}-[0-9]{3}-[0-9]{2}-[0-9]{2}|[0-9]{3}-[0-9]{3}-[0-9]-[0-9]{3}|[0-9]{3}-[0-9]{2}-
[0-9]{4}-[0-9]|[0-9]{3}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-[0-9]|[0-9]-[0-9]
{5}-[0-9]{3}-[0-9]{2}|[0-9]-[0-9]{5}-[0-9]{2}-[0-9]{3}|[0-9]-[0-9]{5}-[0-9]-[0-9]{4}|[0-9]-[0-
9]{4}-[0-9]{5}-[0-9]|[0-9]-[0-9]{4}-[0-9]{4}-[0-9]{2}|[0-9]-[0-9]{4}-[0-9]{3}-[0-9]{3}|[0-9]-[
0-9]{4}-[0-9]{2}-[0-9]{4}|[0-9]-[0-9]{4}-[0-9]-[0-9]{5}|[0-9]-[0-9]{3}-[0-9]{6}-[0-9]|[0-9]-[0
-9]{3}-[0-9]{5}-[0-9]{2}|[0-9]-[0-9]{3}-[0-9]{4}-[0-9]{3}|[0-9]-[0-9]{3}-[0-9]{3}-[0-9]{4}|[0-
9]-[0-9]{3}-[0-9]{2}-[0-9]{5}|[0-9]-[0-9]{3}-[0-9]-[0-9]{6}|[0-9]-[0-9]{2}-[0-9]{7}-[0-9]|[0-9
]-[0-9]{2}-[0-9]{6}-[0-9]{2}|[0-9]-[0-9]{2}-[0-9]{5}-[0-9]{3}|[0-9]-[0-9]{2}-[0-9]{4}-[0-9]{4}
|[0-9]-[0-9]{2}-[0-9]{3}-[0-9]{5}|[0-9]-[0-9]{2}-[0-9]{2}-[0-9]{6}|[0-9]-[0-9]{2}-[0-9]-[0-9]{
7}|[0-9]-[0-9]-[0-9]{7}[0-9]-[0-9]|[0-9]-[0-9]-[0-9]{7}-[0-9]{2}|[0-9]-[0-9]-[0-9]{6}-[0-9]{3}
|[0-9]-[0-9]-[0-9]{5}-[0-9]{4}|[0-9]-[0-9]-[0-9]{4}-[0-9]{5}|[0-9]-[0-9]-[0-9]{3}-[0-9]{6}|[0-
9]-[0-9]-[0-9]{2}-[0-9]{7}|[0-9]-[0-9]-[0-9]-[0-9]{7}[0-9]
_______________________________________________
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