RoseIndia.net

Regular expression

A Regular Expression is a type of text string based on a particular pattern that is used to search a set of strings of characters. In short, it is denoted as Regex or Regexp. It is a type of formal language which has a common syntax or pattern that matches for a set of strings. For example, the pattern a|b* will match a set of strings {ε, a, b, bb, bbb, ...}. The syntax rules for a Regex is different in different formalisms and hence there can be a infinite number of regular expressions for a particular set of strings. It is very difficult to explain the concept of Regex without examples. To find more about regular expression, browse our directory for tutorials and examples.

Programming Resource Home :: regular-expression




Regular expression
Tutorial Regular Expressions
This Example describe the way to match a pattern with the text by using Regularexpression. View Rating



Regular expression
Tutorial Finding start and end index of string using Regular expression
This Example describes the way for finding start and end index of the string using regular expression. For this we are going to make program named Finding_index.java. View Rating



Regular expression
Tutorial Matching Zip code using regular expression
This Example describes the way of matching Zip code with the regular expression .For this we are going to make program named Matching_Zipcode.java. View Rating



Regular expression
Tutorial Match string using regular expression without Case sensitivity
This Example describes the way to match the String using regular expression. For this we are going to make program named Matching_Casesensitive.java. View Rating



Regular expression
Tutorial Pattern resetting using regular expression
This Example describes the way to retrieve the String using regular expression. For this we are going to make program named Pattern_Resetting.java. View Rating



Regular expression
Tutorial Replacing all the text of String using expression
This Example describes the way to Replace certain part of the whole String using regular expression. For this we are going to make program named Replaceall.java. View Rating



Regular expression
Tutorial Reset the matcher using regular expression
This Example describes the way to retrieve the String using regular expression. For this we are going to make program named Reset. java. View Rating



Regular expression
Tutorial Split string after each character using regular expression
This Example describes the way to split the String after each character using expression. For this we are going to make program named SplittingFind. java. View Rating



Regular expression
Tutorial Appending and replacing string using regular expression
This Example describes the way to append the String with the existing one using expression. View Rating



Regular expression
Tutorial Finding word using regular expression
This Example describes the way to find the word from the String using expression. For this we are going to make program named Findone.java. View Rating
Page:  [<<]   1   2   3     [>>]


Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2004. All rights reserved.