Posted by Steve on 10/23/07 18:53
<joey.powell@topscene.com> wrote in message
news:1193165215.905495.307190@k35g2000prh.googlegroups.com...
> On Oct 23, 1:03 pm, "Paul Lautman" <paul.laut...@btinternet.com>
> wrote:
>> joey.pow...@topscene.com wrote:
>> > And so I have decided to use regular expressions to help. I am
>> > actually using something called a .net RegularExpressionValidator
>> > server control...but what's important is that it get translated into
>> > some javascript code that gets sent out with the HTTP response and
>> > provides a regular expression validator in the browser.
>>
>> You specifically say that you want your regular expression to be in
>> javascript code and you post in a php group.
>>
>> Guess what group is good for javascript questions?
>
> Have you never used javascript in any of your web apps? If you just
> read the post you will see that the heart of the question is at how to
> use regular expressions. Have you never used ereg in any of your PHP
> code?...sorry to ruin your day.
keeping it purely php...NEVER use ereg. ALWAYS use preg. that is not an
exageration.
Navigation:
[Reply to this message]
|