Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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

    In reply to Re: Regular expressions by luis.roca
    in thread Regular expressions by hasnainzeenwala

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post; it's "PerlMonks-approved HTML":



    • Are you posting in the right place? Check out Where do I post X? to know for sure.
    • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
      <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
    • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
    • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2023-03-23 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?