The Java Developers Almanac 1.4


Order this book from Amazon.

   
Home > List of Packages

java.util.regex

e423. Quintessential Regular Expression Search Program
e424. Determining If a String Matches a Pattern Exactly
e425. Applying Regular Expressions on the Contents of a File
e426. Removing Duplicate Whitespace in a String
e427. Greedy and Nongreedy Matching in a Regular Expression
e428. Escaping Special Characters in a Pattern

Searching and Replacing
e429. Quintessential Regular Expression Search and Replace Program
e430. Searching and Replacing with Nonconstant Values Using a Regular Expression

Tokenizing
e431. Parsing Character-Separated Data with a Regular Expression
e432. Parsing a String into Tokens Using a Regular Expression

Flags
e433. Setting Case Sensitivity in a Regular Expression
e434. Adding Comments to a Regular Expression
e435. Compiling a Pattern with Multiple Flags

Groups
e436. Capturing Text in a Group in a Regular Expression
e437. Getting the Indices of a Matching Group in a Regular Expression
e438. Using a Non-Capturing Group in a Regular Expression
e439. Using the Captured Text of a Group within a Pattern
e440. Using the Captured Text of a Group within a Replacement Pattern

Lines
e441. Using a Regular Expression to Filter Lines from a Reader
e442. Implementing a FilterReader to Filter Lines Based on a Regular Expression
e443. Matching Line Boundaries in a Regular Expression
e444. Matching Across Line Boundaries in a Regular Expression
e445. Reading Lines from a String Using a Regular Expression
e446. Removing Line Termination Characters from a String

Paragraphs
e447. Reading Paragraphs from a String Using a Regular Expression
e448. Parsing a String into Paragraphs Using a Regular Expression

© 2002 Addison-Wesley.