Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: string to a special list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57858] Re: string to a special list
  • From: "Mark Fisher" <mark at markfisher.net>
  • Date: Fri, 10 Jun 2005 02:29:22 -0400 (EDT)
  • References: <d892sr$seu$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

If you have version 5.1, you can use

StringCases["ab(c|d|e)fg(h|i)zx",
  (LetterCharacter ~~ "|") ... ~~ LetterCharacter]

--Mark


  • Prev by Date: Re: goto and label (cont)
  • Next by Date: Exporting mathematica equations into MathType
  • Previous by thread: Re: string to a special list
  • Next by thread: Remove definitions from I