Quantcast
Channel: Matcher – Examples Java Code Geeks
Browsing all 10 articles
Browse latest View live

Validate Password with Java Regular Expression example

In the previous tutorial on username validation we explained why input validation is important for your application’s security and data consistency. For our passwords we are going to implement a strict...

View Article



How To Validate Hex Color Code With Regular Expression

In this tutorial we are going to see how to create a simple application that validates Hexadecimal Color Codes. The main policy abount Hex Color Codes denotes that it has to: Start with ‘#’ tag....

View Article

Validate Email Address with Java Regular Expression example

Email validation is a very frequent requirement in many applications. Basically the main policy that email format follows is that it: Has to start with characters, digits or ‘_’, ‘-‘, ‘+’ symbols The...

View Article

Validate IP Address with Java Regular Expression example

With this example we shall show you how to validate the format of ip addresses using Java Regular Expression. The basic format of ip addresses format policy is: It must start with a number from 0 –...

View Article

Validate Time In 12 Hours Format with Java Regular Expression example

In this tutorial we are going to see how to validate 12 Hours time format with Java Regular Expressions.The basic policy about the 12 hours format is that: It should start with two digits from 00 to...

View Article


Validate Time In 24 Hours Format with Java Regular Expression example

In this tutorial we are going to see how to validate 24 Hours time format with Java Regular Expressions.The basic policy about the 24 hours format is that: It should start with two digits from 00 to...

View Article

Validate Date with Java Regular Expression example

In this tutorial we are going to see how to validate date format with Java Regular Expressions.The basic policy about  date of the form “dd/mm/yyyy” is that: It should start with two digits from 01 –...

View Article

Validate HTML Tag with Java Regular Expression example

In this tutorial we are going to see how to validate HTML Tag format. In general, validating HTML with regular expressions in not the optimal method. You should use an HTML parser for that matter. But...

View Article


Extract HTML Links with Java Regular Expression example

With this example we shall show you how to extract and process HTML links with Java Regular expression. You can follow the basic techniques in this article and learn how to process many other HTML...

View Article


Validate Image File Extension with Java Regular Expression example

In this tutorial we are going to see how to validate image file format with Java Regular Expressions. This is vary userful for example when you create an image uploader and you want to make sure that...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images