Re: More regexp help needed :(
Tech-Archive recommends: Speed Up your PC by fixing your registry
Hutch wrote:
[snip]
> I'm using that regexp in the PHP
> code now, and will use the Doctors solution for the client side.
Having learned from Steve's suggestions, this does the trick in IE6:-
var r=/^(?=[a-zA-Z\d]*?\d)([\da-zA-Z]{8,15})$/;
However, it does use lookaheads (?=) and non-greedy matching (*?),
which AFAIK are only available I think since IE6 or perhaps IE5.5?
Regards
Julian Turner
.
Relevant Pages
- Re: HELP: send binary replies back and forth ???
... a client, not a server. ... simple php function to set the timeout), ... Issues in writing php server are: ... >> and communication then goes back and forth between the server and client ... (comp.lang.php) - RE: [PHP] Re: question regarding form filtering
... And, actually, the PHP check might be more involved than the JS check. ... the validation in JS may not always be exactly the same ... contextual help via javascript info popups. ... Ok so my reason being for using regexp is that by defining a regexp my ... (php.general) - HELP: send binary replies back and forth ???
... The PHP script receives a request from a client, ... My PHP script loops through all records and sends each of them ONE BY ONE. ... to be able to communicate with apache. ... (comp.lang.php) - Re: Advantages and disadvantages of PHP?
... Sometimes it's PHP, sometimes Java, sometimes something else. ... You'll find, for instance, that while your hosting company offers ASP.NET, their offer in fairly rare, and their price much above equivalent hosting offers in other languages. ... wanted to keep that client. ... (comp.lang.php) - Re: [PHP] Re: Delete Temporary Internet Files
... PHP and IIS / Apache on his local machine. ... > can't read the client files with PHP. ... > Protect your identity with Yahoo! ... (php.general) |
|