How about using the lower() function?
Leon Vismer wrote:
Hi
I would like to convert from one naming convention within a sql statement to
another.
I have the following,
$str = "insert into userComment (userID, userName, userSurname) values (0,
'Leon', 'Vismer')";
$match = array(
"/([a-z]
This should work:
^\\ # Don't match if a backslash precedes
\[ # Open bracket
([^\]]+?) # Text, including whitespace
\] # Close bracket
By the way, using a tool called The Regex Coach I solved your problem in
about 10 seconds. For those having regex problems you might
$str = "jeD1GLal";
$str = ereg_replace("[1LIO0lio]", "", $str);
something like that...
On Fri, 30 Aug 2002, Jeff Lewis wrote:
> Is there a regular expression that will remove 1, L, I, O, 0 and the
> lowercase equivilants from a varialbe?
>
> I am not horribly well versed in regular expressions.
3 matches
Mail list logo