On Wed, 19 Nov 2008 04:55:58 -0500, Jf Rejza wrote: > Hy, > > I would like to know how to extract a string delimited by too identical > characters from an another string(of any length). > > ex string="rzerze@foo@rezrzgrtez" how to get (or match) the foo string > > thanks for your help. string.split(/@/)[1] --Ken -- Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/