Tools for writing regular expressions

preview_player
Показать описание
Link for all dot net and sql server video tutorial playlists

Link for slides, code samples and text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

In this video we will discuss the basics of regular expressions and then look at some of the tools available to learn, write and test regular expressions.

Basics of Regular Expressions

Find the word expression in a given string. This will also match with the word expressions.
expression

To find the word "expression" as a whole word, include \b on either sides of the word expression
\bexpression\b

\d indicates to find a digit. To find a 5 digit number we could use the following
\b\d\d\d\d\d\b

We can avoid the repetition of \d by using curly braces as shown below. \d{5} means repeat \d 5 times.
\b\d{5}\b

The above example can also be rewritten as shown below.
\b[0-9]{5}\b

Find all the words with exactly 5 letters
\b[a-zA-Z]{5}\b

Brackets are used to find a range of characters
[a-z] - Find any of the characters between the brackets
[0-9] - Find any of the digits between the brackets. This is equivalent to \d
(a|b) - Find any of the characters a or b

The page at the following link explains the basics of regular expressions.

Expresso is one of the free tools available. Here is the link to download.

Regular Expression Library
Рекомендации по теме
Комментарии
Автор

All yourvideos are awsome.Many thanks..

sandeepmishra
Автор

Makes me want to build great tools!!! Need a team to build my ideas. :D

dgloria
Автор

Sir, Your tutorials are very helpful.Please make a tutorial for PHP..Thanks

mithileshrouth
Автор

thanks you have a good videos but you don't have a good likes ...
thank you sir for your jobs and best wishes to you

mustafakenany
Автор

Thanks Sir, Please plan for .net design pattern series too.

Deepak_Singh_Raghuvanshi
Автор

How to use forward slash? For example /C.F.

lovely
Автор

Share me regular expression link to learn

ravikumargrandhi