Possible Duplicate:
Learning Regular Expressions
How to start off?
Which software to use?
I use this all the time (for reference) - has a good tutorial...
Learn it from regular-expressions.info and use a regex editor such as Expresso that will decompose your regex for you as you write it.
rubular.com is another useful place to go.
This is a very complete online tool written in Actionscript 3. It colors matches, and also executes basic RE functions on the text.
You can use it with any text and RE, just introduce it in the fields and let it go!
The AS3 regexp support is quite complete so you can test on-the-fly everything, including look-ahead and look-behind (both positive and negative), grouping without capturing etc.
There is also a great number of community-provided RE ready for use, with examples and all, integrated within the application.