Andrea Carmisciano wrote:
> Luis Parravicini wrote:
>> On Tue, May 18, 2010 at 7:39 AM, Andrea Carmisciano
>> <andrea.carmisciano / gmail.com> wrote:
>>>
>>> I need to extract the code (XN____01) and the relative email
>>> "ipias_aq / yahoo.it", put them in a CSV file or a sort of.
>>>
>>> May I do this in ruby?
>> 
>> You can do it using a capture group:
>> http://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#regexp
>> and examples here: http://www.regular-expressions.info/brackets.html
> 
> Thank you, but 'couse I'm quiet stupid, can you write me a pseudo-coded 
> example? For the regex part, not the file open/write part.
> Thank's again!

Maybe this can help:
http://rubular.com/
-- 
Posted via http://www.ruby-forum.com/.