Hi Aaron,
I found this on a little useful when I started learning regex. Good
luck 2 ya!
adam
http://www.devshed.com/Server_Side/Administration/RegExp/
Hi All,
Sorry for OT post but need some info.
Does anyone know a good tutorial that explains regular expressions in
DUMMY terms?
I have a li
Try one of these:
http://zez.org/article/articleprint/11
http://www.javaworld.com/javaworld/jw-07-2001/jw-0713-regex_p.html
Doug
On Fri, 1 Aug 2003 11:34:16 -0400, Aaron Wolski wrote:
>Hi All,
>
>Sorry for OT post but need some info.
>
>Does anyone know a good tutorial that explains regular
Aaron,
It's not a tutorial, but if you look at the stripos() function on PHP.NET
there are some good examples of expressions that check for multiple
characters (needles) in a given string (haystack) both in the description of
the function and the user contributed notes at the bottom. Those might b
Don't complicate your code if you don't need it. IF you need to find out the
length of the string, use PHP's built-in functions. They're faster and they
are easier to write, debug and for others to understand. If I missed your
point completely, forgive me.
And here's the code for you do figure ou
What are you trying to do? an where is your pattern? are you trying to match
any character followed by 2 to 20 any characters in the $string variable?
Gurhan
-Original Message-
From: Ilhan Guvener [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 07, 2002 11:33 AM
To: [EMAIL PROTECTED]
Su
On Sunday 07 April 2002 23:32, Ilhan Guvener wrote:
> Hello
>
> I'm writing a code for limiting a string input and for that I'm using reg.
> ex. but I have a problem:
>
> $string = "emramile";
> if(!(preg_match("/.{2,20}/","$string"))) {
> print "error";
> }
> else {
> print "O