Thanks to visit codestin.com
Credit goes to www.java2s.com
Home
Java
2D Graphics GUI
3D
Advanced Graphics
Ant
Apache Common
Chart
Class
Collections Data Structure
Data Type
Database SQL JDBC
Design Pattern
Development Class
EJB3
Email
Event
File Input Output
Game
Generics
GWT
Hibernate
I18N
J2EE
J2ME
JavaFX
JDK 6
JDK 7
JNDI LDAP
JPA
JSP
JSTL
Language Basics
Network Protocol
PDF RTF
Reflection
Regular Expressions
Scripting
Security
Servlets
Spring
Swing Components
Swing JFC
SWT JFace Eclipse
Threads
Tiny Application
Velocity
Web Services SOA
XML
String Operation « Regular Expressions « Java
Java
Regular Expressions
String Operation
1.
Regular expression: Split Demo
2.
Replacing String Tokenizer
3.
String replace
4.
String split
5.
Simple split
6.
Calculating Word Frequencies with Regular Expressions
7.
Print all the strings that match a given pattern from a file
8.
Quick demo of Regular Expressions substitution
9.
Parse an Apache log file with StringTokenizer
10.
StringConvenience -- demonstrate java.lang.String convenience routine
11.
Split a String into a Java Array of Strings divided by an Regular Expressions
12.
Regular Expression Replace
13.
Java Regular Expression : Split text
14.
Java Regular Expression :split 2
15.
Get all digits from a string
16.
Strip extra spaces in a XML string
17.
Remove trailing white space from a string
18.
Create a string search and replace using regex
19.
Split-up string using regular expression
20.
Apply proper uppercase and lowercase on a String
21.
Regular Expression Search and Replace Program
22.
Searching and Replacing with Nonconstant Values Using a Regular Expression
23.
Use Matcher.appendReplacement() to match [a-zA-Z]+[0-9]+
24.
Ignore case differences when searching for or replacing substrings.
25.
Use replaceAll() to ignore case when replacing one substring with another
26.
Extract a substring by matching a regular expression.
27.
Match string ends
28.
Match words
29.
Match punct
30.
Match space
31.
Determining If a String Matches a Pattern Exactly
32.
Removing Duplicate Whitespace in a String
33.
Split the supplied content into lines, returning each line as an element in the returned list.
34.
Get First Found regex
35.
Get Found regex
36.
Get First Not Empty String in a String list