Comment by Oris on 2005-03-28
Thanks! It helped me :)
Comment by Raj on 2005-04-04
This artical is vary useful for biggeners that has programming knowlage but dont know about regex.
Comment by Devon on 2005-06-08
Just wanted to make you aware that there is a slight error in one of your examples.
Under the multiple characters heading
"t?b+$": should be a possible t followed by one or more b's at the end of the string.
It's a very small error, but just wanted to point that out to you. I'm just now getting a grasp on regular expressions and this tutorial has been very helpful.
Comment by Kostya on 2005-06-22
short, comprehensive article. thank you.
Comment by Fred on 2005-07-27
in your last example you say "(note the escaping back slash)" but there is no backslash anywhere...
Comment by Dhiraj on 2005-08-05
can u pl tell me the regular expression of :
start with '[/list' and then one or more any character and end with ']'
Comment by vijayakumar R on 2005-12-06
so helpful for me.There is an error on last line of multiple character.
thank u
Comment by Cristi Gageanu on 2006-01-23
Thanks for this tutorial, regexp looks so clear when are well explained!
Comment by Laurence Robb on 2007-01-27
OR operator? Is there a AND? That would help.
Comment by Travis on 2007-06-23
I\'ve been looking for info on preg_match for a long time, never understood how it works, now I do, this take hotlinking and security to a new level for me!
Comment by kb on 2007-10-20
thinking of trying this out. i hope it will work
Comment by JS on 2007-12-30
Short,sharp,and to the point. It's a whole lot easier when well explained. Thanks
Comment by xxxxxxxx xxxxxxxx on 2008-01-02
goof tuto friend, go on, and thank you
but you have to check that the secuity image below is not secure,, its name is the same thing of its content, understand??
bye
Comment by xxxxxxxx xxxxxxxx on 2008-01-02
goof tuto friend, go on, and thank you
but you have to check that the secuity image below is not secure,, its name is the same thing of its content, understand??
bye
Comment by Brinjal on 2008-01-25
Useful, can improve with an example of string extraction from space delimited strings:-
$mystr = "der34w hetd543gd dters43b";
If we want it to extract as:
$matches[0] = "der34w hetd543gd dters43b"
$matches[1] = "der34w "
$matches[2] = "hetd543gd"
$matches[3] = "dters43b"
Comment by Mela on 2009-12-28
Hi,
I thing that this sentence is some mistake. Maybe you wanted to say strpos...
\"It\'s actually more efficient to use the PHP function substr in these cases\"
(in http://www.tipsntutorials.com/tutorials/PHP/50)
and this form gives back-shlashes before \" or \' and dont clear when security image is wrong write.
Comment by Juned Kazi on 2008-04-30
This is a mind blowing article. It really did help. Thanks for all the effort.
Comment by Tiago on 2010-01-29
Thanks for your explanation. It\\\'s easier when well explained...
Comment by ackit on 2010-03-09
This was helpful
Comment by lucky on 2010-08-20
wicked this helped thanks
Comment by simbu m on 2010-08-26
It is very useful but very least examples are there.
Comment by simbu m on 2010-08-26
It is very useful but very least examples are there.
Comment by Dinesh on 2010-08-28
Very good examples, I have been looking for this kind of tutorial.
Thanks
Comment by chris on 2010-11-30
i see the underscore used like this ^[_a-z0-9-]
for email validation..what does this mean?
Comment by Deidra on 2011-05-06
Love it
Comment by masoud keshavarz on 2010-09-13
it could be better if it had more examples, like how to understand if an email insertions is valid using regular expression
Comment by tee on 2010-09-24
Very useful for me but that will be better if the example layout nicely. Cheers! :)
Thanks so much!
Comment by tee on 2010-09-24
Very useful for me but that will be better if the example layout nicely. Cheers! :)
Thanks so much!
Comment by darshan on 2011-04-18
interesting
Comment by BG_382 on 2010-12-07
Very helpful for beginners, thank you so much.
Comment by محممد المتولى on 2010-09-21
kjb,fg;/.szdvb/,mzvAfhlmszdjh/ساسبلاكنتسطماطمكنةلا
Comment by you suck on 2011-01-25
you suck and shouldn\'t write garbage like this man
Comment by judi on 2011-01-28
nice
Comment by Emmly on 2011-05-21
Walking in the presence of giants here. Cool thinking all arunod!
Comment by Sandor Toth on 2010-12-18
Don't forget, PHP has email validation: filter_var, and you have to check the domain also: checkdnsrr.
This article can be better, if you publish the combinations of these things.
Great job!
Comment by discount Michael Jordan Shoes on 2010-09-17
Air Jordan Shoes are always so attractive, good quality can ensure the wearer's feet, not only that, the Michael Jordan Shoes has become a fashion, many young people are very fanatical Air Jordan. High price so many people can realize their dreams. Well now, our products directly from third-party products, so we can provide cheap Jordan Basketball Shoes and New Jordan Shoes, high quality, excellent service, come on, give yourself a choice.
We offerAir Jordan 1, Air Jordan 2, Air Jordan 3,Air Jordan 4, Air Jordan 5, Air Jordan 6, Air Jordan 7, Air Jordan 8, Air Jordan 9, Air Jordan 10, Air Jordan 11 and so on!
|