yeah \s. that's what i meant, of course (if it works) :)
On Wed, Aug 13, 2008 at 12:36 PM, Tony <[EMAIL PROTECTED]> wrote:
> \s maybe :) trying.
>
> -- tony
>
> Better than a thousand hollow words, is one word that brings peace.
> -- siddhartha gautama
>
>
>
> On Wed, Aug 13, 2008 at 3:30 PM, Tony <[EMAIL PROTECTED]> wrote:
> > nope, doesnt do it...
> > hmmmm
> >
> > heres what works for alphanumerics...
> >
> > function validHate(f) {
> > !(/^[A-z0-9/s]*$/i).test(f.value)?f.value =
> > f.value.replace(/[^A-z0-9/s]/ig,''):null;
> > }
> >
> > -- tony
> >
> > Better than a thousand hollow words, is one word that brings peace.
> > -- siddhartha gautama
> >
> >
> >
> > On Wed, Aug 13, 2008 at 3:30 PM, Tony <[EMAIL PROTECTED]> wrote:
> >> thanks chuck, ill check.
> >>
> >> speaking of regex... wheres regex ninja benjamin doom these days???
> >>
> >> -- tony
> >>
> >> Better than a thousand hollow words, is one word that brings peace.
> >> -- siddhartha gautama
> >>
> >>
> >>
> >> On Wed, Aug 13, 2008 at 3:26 PM, Charlie Griefer
> >> <[EMAIL PROTECTED]> wrote:
> >>> add /s
> >>>
> >>> [A-z_-0-9/s] (i think...) :)
> >>>
> >>> On Wed, Aug 13, 2008 at 12:22 PM, Tony <[EMAIL PROTECTED]> wrote:
> >>>
> >>>> hi all!
> >>>> im using this
> >>>>
> >>>>
> >>>> function validHate(f) {
> >>>> !(/^[A-z_-0-9]*$/i).test(f.value)?f.value =
> >>>> f.value.replace(/[^A-z_-0-9]/ig,''):null;
> >>>> }
> >>>>
> >>>> to make sure people only input alphanumeric... but i need SPACE added
> >>>> to the ALLOWED list... can someone help :)
> >>>>
> >>>> please.
> >>>>
> >>>> thanks
> >>>>
> >>>> -- tony
> >>>>
> >>>> Better than a thousand hollow words, is one word that brings peace.
> >>>> -- siddhartha gautama
> >>>>
> >>>>
> >>>
> >>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:265861
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5