Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Regular expressions

by luis.roca (Deacon)
on May 26, 2011 at 15:48 UTC ( [id://906852]=note: print w/replies, xml ) Need Help??


in reply to Regular expressions

Hi hasnainzeenwala,

Here's a pretty good list of resources for learning Regular Expressions: http://www.regular-expressions.info/books.html
The site itself is a good resource. I believe Jeffrey Friedl (author of Mastering Regular Expressions) started and/or is involved with the site in some way.

Speaking of Mastering Regular Expressions, * that is definitely a book you should have. Don't worry too much about the title. The book starts off really nicely and covers a lot of ground by the time you've finished the chapters on using Regexes in Perl.

* The other thing I would recommend is to make sure your text editor gives you the ability to do search and replace with regular expressions. (If you look in your software's documentation it may say something like: "do search and replace with grep". That's Ok, that's what you want.) Use the text editor for EVERYTHING (emails, love letters, emailed love letters, etc.) You will quickly learn how often you can and will want to use regular expressions.

  1. * I would also recommend picking up either a book on UNIX like: UNIX in a Nutshell or UNIX Power Tools as both of them have coverage of Regular Expressions appropriate for beginners. However, and everyone may not agree with me here, you can also check out sed & awk which can be argued is entirely about pattern matching (what regular expressions do).
  2. * I'd also recommend a simple regular expressions application. I use Reggy for Mac OSX but there are a few others out there like RegexBuddy.
  3. UPDATE May.26.2011: Added links to UNIX books.


    "...the adversities born of well-placed thoughts should be considered mercies rather than misfortunes." — Don Quixote

Replies are listed 'Best First'.
Re^2: Regular expressions
by hasnainzeenwala (Novice) on May 27, 2011 at 08:48 UTC
    I didn't know that it was such a big topic to be written in a book, thank you. I'll use it ASAP.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://906852]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-25 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found