Regexp Problem

Hi all,

I recently started learning ruby from some videos online. These videos,
however are not so detailed and hence skim through the topics very fast.
Due to this I am facing a fair few problems in the understanding of
regexp.
I request you to please guide me to understand this concept better in
any
way and help me grow my knowledge of ruby.

Thanks in advance:)
Karan

Hi,

just use Google to find a tutorial or book about regular expressions.
This isn’t Ruby specific, so any good explanation works (even though
there may be minor differences in syntax).

For example, take this tutorial:

There are also some good books by O’Reilly, but they go rather deep and
may be too theoretical.

Take a look at www.oldkingjames.org and click on learn to program. There
are some regx examples.

Date: Sun, 7 Oct 2012 17:56:32 +0900
From: [email protected]
Subject: Regexp Problem
To: [email protected]

Hi all,

I recently started learning ruby from some videos online.
These videos, however are not so detailed and hence skim through the
topics very fast. Due to this I am facing a fair few problems in the
understanding of regexp. I request you to please guide me to understand
this concept better in any way and help me grow my knowledge of ruby.

Thanks in advance:)
Karan

I’ve found this to be a great tool for experimentation and learning
Ruby’s regex: