• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Parsing Strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing Strings


  • Subject: Re: Parsing Strings
  • From: "Justin Laden" <email@hidden>
  • Date: Thu, 17 Jan 2008 16:38:49 -0500

Emmanuel,

I tried your advice, but came up empty.  Could you tell me what I'm doing wrong?

My code:

	repeat with i from 1 to (descriptionRange)
		try
			--find text "^[a-zA-Z][0-9]{4}" in item i of descriptionRange with regexp
			--copy text "^[a-zA-Z][0-9]{4}" in item i of descriptionRange with
regexp to item i of jobNumRange
			-- found
		on error
			-- not found
		end try
	end repeat
 _______________________________________________
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

  • Follow-Ups:
    • Re: Parsing Strings
      • From: Emmanuel <email@hidden>
  • Prev by Date: RE: "a reference to"
  • Next by Date: Re: Get only the name of the file, instead of the whole path!
  • Previous by thread: Re: Question on a script
  • Next by thread: Re: Parsing Strings
  • Index(es):
    • Date
    • Thread