Java Development
-
Case control example
In this example we shall show you how to handle a case control using a class with a regular expression. To…
Read More » -
String.matches method example
With this example we shall show you how to use String.matches(String regex) API method to check if a given String…
Read More » -
List files with regular expression filtering
This is an example of how to list files using regular expression filtering. In order to list Files using regular expressions…
Read More » -
Remove line termination characters from string
In this example we shall show you how to remove line termination characters from a String, using regular expressions. To…
Read More » -
Compile Reg Ex pattern with multiple flags
With this example we shall show you how to compile regular expression to a Pattern with multiple flags. Compiling a regular…
Read More » -
Greedy and non-greedy Reg Ex matching
This is an example of how to use greedy and non-greedy regular expression matching. Greedy matching means that the expression will…
Read More » -
Check if a string matches a Pattern
In this example we shall show you how to check if a String matches a Pattern. To check if a String…
Read More » -
Get package name
This is an example of how to get the package name of a class. Getting the package name of a class…
Read More » -
Get super class of an object
With this example we shall show you how to get the super class of an object. To get the super…
Read More » -
Get class from an object
In this example we shall show you how to get the class of an Object. To get the class that represents…
Read More »