Browse Category: Regular Expressions

Regular expression pattern

Regular expression pattern

This article will show a list of most common regular expression pattern that we usually to validating and formatting common types of user input. Such as email address, phone numbers, url … If you are not familar with Regular expression please check article Regular expressions - Overview first.

Beyond helping you get the job done by eliminating invalid input, these recipes can also improve the user experience of your applications. Messages such as “no spaces or hyphens” next to phone or credit card number fields often frustrate users or are simply ignored. Continue Reading

Regular expressions

Regular expressions – Overview

Definition

Regular expressions is a special text string for describing a search pattern. A pattern consists of one or more character literals, operators, or constructs. You can use Regular expressions to find out a parttern in very short way such as: codeail, Phone format, Password rules, etc… It is very powerful whether that code is written in Perl, PHP, Java, a .NET language or a multitude of other languages. Continue Reading