On Thursday,  8 May 2003 at 12:02:11 +0900, Kurt V. Hindenburg wrote:
> 
> I have a string that I want to seperate individual parts; for example 
> in the below string I want the 196 and 21.
> 
> <a href="javascript:clist(196,'21')">
> 
> I can do this using sub and then modifying the strings.  Is there 
> anyway to do this simply and easily?
> 
> Something like : \([0-9]+,'[0-9]+'\)

   string = "javascript:clist(196,'21')"
   m = /\((\d+),'(\d+)'\)/.match(string)
   m[1] #=> 196
   m[2] #=> 21

-- 
Jim Freeze
----------
Every four seconds a woman has a baby.  Our problem is to find this
woman and stop her.