O'Reilly logo

C# for Java Developers by Adam Freeman, Allen Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Regular Expressions

The comparison and manipulation features provided by the String and String-Builder classes are adequate for simple operations. However, when complex string manipulations are required or large amounts of text need to be processed, regular expressions can provide a more efficient solution. Although regular expressions are new to Java version 1.4, many third-party Java regular expression libraries have been available for some time. .NET includes regular expression functionality as part of the standard class libraries in the System.Text.RegularExpressions namespace.

The .NET regular expression implementation is refreshingly straightforward and contains some functionality not available in the Java implementation. In the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required