JavaRanch Home    
 
This page:         last edited 20 July 2014         What's Changed?         Edit

Resources on Regular Expressions   

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

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, 2nd Edition, Jeffrey E. F. Friedl, O'Reilly and Associates, 2002.
Chapter 8: Java is available from O'Reilly.

(excellent introduction and good info about specifics of J2SE 1.4 regex implementation).

RegEx Library


JavaRanchContact us — Copyright © 1998-2014 Paul Wheaton