A little more precise to what you asked for:
Mikael Grön wrote:
Hey all!
I'm in panic! I need a regex that returns true on strings containing
both 'update' and 'where 1 = 1'. Both must be case insensitive and
there might be spaces between the 1's and the '=', and there might not..
Some nitw
Here's a very simple one I just knocked out in a few seconds:
Mikael Grön wrote:
Hey all!
I'm in panic! I need a regex that returns true on strings containing
both 'update' and 'where 1 = 1'. Both must be case insensitive and
there might be spaces between the 1's and the '=', and there migh
Hey all!
I'm in panic! I need a regex that returns true on strings containing
both 'update' and 'where 1 = 1'. Both must be case insensitive and there
might be spaces between the 1's and the '=', and there might not..
Some nitwit chose to build the database functions of the site I'm
working on
Can anyone help me out with a regular expression to remove all non-ascii
characters from a String?
I've got as far as:
$newfilecontents = ereg_replace("[^\x01-\x7f]","",$newfilecontents);
but this seems to strip all the characters from the String!
Any help would be appreciated. Thanks.
**
Hi Everyone,
I'm still very new to this regular expression thing and I'm hoping
someone can offer some help. I've been able to match parts of this but
now I'm at a loss. A little background on this. I'm running a console
EXE tool to generate some output to display currently logged in users in
all
Can anyone recommend where I might be able to get some "Regular
Expression" assistance? I'm very new to "Regular Expression". I've read
some of the info I've found on the web, and have a few books that I've
read, however I'm at a loss and confused as heck. I'm hoping someone
would be able to shed s
I have a regular expression, that finds what i want. The problem lies in that I don't
want to replace this pattern with another. I want to prefix the pattern with a
character. Any suggestions as to how I might accomplish this?
regular expression = '/^\d\{1,2}\./'
--
Gerardo S. Rojas
mailto:
Sorry for late reply,
I was running simple test scripts that is works for PHP/Apache DSO/Linux. It
turns out to be a my mistake in code. I didn't take a look at errors on browser.
Since I believed all scripts are working under Linux/Apache.
Both ereg() and eregi() works (PHP4.0.5RC1/Apache SAPI)
They should both be there, but perhaps they have left it out from the new
PHP4.0.5RC1, since preg is ever so much faster...
Strange though, since I think there are many sites who need to rewrite their
code to upgrade...
// Tobias
""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message
9a0jsj$d9h$[E
If those aren't there(I am pretty sure they are) then the preg commands
should work. I know I am using one form or another on my site.
--
phill
""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message
9a0j2q$5vn$[EMAIL PROTECTED]">news:9a0j2q$5vn$[EMAIL PROTECTED]...
> Hello all,
>
> I would like to
Hello all,
I would like to know standard regular expression functions (ereg(), eregi(),
etc) are missing in PHP for Windows?
(I use PHP4.0.5RC1 from www.php4win.de)
Thanks
--
Yasuo Ohgaki
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
11 matches
Mail list logo