DCSIMG
The Regulator - Gil Fink's Blog

Gil Fink's Blog

Fink about IT

News

Microsoft MVP

My Facebook Profile My Twitter Profile My Linkedin Profile

Locations of visitors to this page

Creative Commons License

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2011 Gil Fink

Hebrew Articles

Index Pages

My OSS Projects

English Articles

The Regulator

The Regulator

Yesterday, I reviewed a regular expression that The Regulator Logo
was written by one of the developers and
I needed to improve it since it wasn’t performing
the appropriate thing. Since I know The Regulator
tool, I opened it and in 5 minutes I came up with this
regular expression which validate Israeli phone/cellular
numbers:

^0(5[012345678]|6[47]|[23489]){1}(\-)?[^0\D]{1}\d{6}$

With The Regulator I created and checked the expression and
then implemented it in the application.

What is The Regulator?

The Regulator is a free tool that was written by Roy Osherove.
It’s purpose is to help us create regular expressions and also
to test them inside The Regulator application. It allows the
building and verifying of regular expressions and also includes
testing functionality that enable us to see a display of the hierarchical
tree that will be generated by match, replace and split operations.
The following screen show the main screen of The Regulator:
The Regulator

Where Can You Download It?

You can download the tool from here.

Enjoy!

DotNetKicks Image

Comments

No Comments