I would like to be CF function. I remember I had seen something on CFLIB but
the site is down. I am not sure about space delimited . Because once I get
the results I have to compare the strings.

Ketan Patel

  -----Original Message-----
  From: Jerry Johnson [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 20, 2004 11:03 AM
  To: CF-RegEx
  Subject: Re: Regex function help needed.

  Do you need regex? Or would just treating the string as a [:space:]
delimited list, and returning x list items work better?

  Jerry Johnson

  >>> [EMAIL PROTECTED] 01/20/04 11:02AM >>>
  Hi all,
  I am looking for a regular _expression_ where I can get first 1,2,3 words of
  teh sentence. I want to pass a prameter saying give me 1, 2 or 3 words of
  teh sentence.

  Suppose My sentence is:
  Hotel Reservations Online. Discount Hotel Reservations in every city -
  Orlando, Las Vegas, New York, London, Miami and more.

  I want to get just 1 word then it should be Hotel. If 2 words then it
should
  be Hotel Reservations.

  Ketan Patel
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to