Resources On Regular Expressions (Wiki forum at Coderanch) (original) (raw)
Tutorials
- RegexBuddy's RegEx Tutorial
http://www.regular-expressions.info/tutorial.html
Avoiding problems
- Runaway Regular Expressions: Catastrophic Backtracking
http://www.regular-expressions.info/catastrophic.html
RegEx in .Net
- RegEx in .Net
http://www.regular-expressions.info/dotnet.html
- The Regulator
The Regulator is an advanced, free regular expressions testing and learning tool. (C#, Visual Basic)
http://osherove.com/tools
RegEx in Java
- General information
http://www.regular-expressions.info/java.html
- Tutorial on regular expressions as available in the java.util.regex package
http://download.oracle.com/javase/tutorial/essential/regex/
- Sun Java Docs on RegEx
http://download.oracle.com/javase/6/docs/api/java/util/regex/package-summary.html, particularly the page about the Pattern class has lots of useful information: JavaDoc:java.util.regex.Pattern
RegEx in JavaScript
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp
- http://www.regular-expressions.info/javascript.html
RegEx and XML
- Tutorial on XML and RegEx
http://www.w3.org/TR/xmlschema-0/ - regexAppendix
Part of XML Schema Part 0: Primer
Books
- Mastering Regular Expressions by Jeffrey E. F. Friedl
Mastering Regular Expressions, 2nd Edition, Jeffrey E. F. Friedl, O'Reilly and Associates, 2002.
Chapter 8: Java is available from O'Reilly.
- Java Regular Expressions: Taming the java.util.regex Engine by Mehran (Max) Habibi
(excellent introduction and good info about specifics of J2SE 1.4 regex implementation).
RegEx Library