Carey, I ended up having to do:

'New Password' LIKE (((( "%"  +  "[EMAIL PROTECTED]&*()=_+{},./<>?;:'-]" ) +
"%" ) +  "[EMAIL PROTECTED]&*()=_+{},./<>?;:'-]" ) +  "%" )

This verifies the New Password field has two special characters. You
have to have the - at the end of the string you are checking, and you
cannot check for [ ] or ".

I cannot use the ^ because it is a password, and the user HAS to have
A-z and 0-9 as well.

All in all, my checks are as follows:

'New Password' LIKE (((( "%"  +  "[EMAIL PROTECTED]&*()=_+{},./<>?;:'-]" ) +
"%" ) +  "[EMAIL PROTECTED]&*()=_+{},./<>?;:'-]" ) +  "%" )

'New Password' LIKE (((( "%"  +  "[A-Z]" ) +  "%" ) +  "[A-Z]" ) +  "%"
)

'New Password' LIKE (((( "%"  +  "[a-z]" ) +  "%" ) +  "[a-z]" ) +  "%"
)

'New Password' LIKE (((( "%"  +  "[0-9]" ) +  "%" ) +  "[0-9]" ) +  "%"
)

I performed each check one at a time so I could set a flag for each
required layer of security, and then give the users meaningful messages,
such as, "Please include at least two integers, 0 - 9, in your
password."

I have an active link that calls a guide that contains all of the other
WF to check the above and sets a flag for each of the requirements if
they are met. Then a second active link calls a second guide that calls
a set of active links that check for each of the above flags and gives
an individual error message based off of the checks.

This is all on a display-only form. The last action the active links
perform is a Commit Changes, and then I have a filter run that will push
the new password to the User form.

I have added a date/time field to the user form, and was creating a
filter to set it whenever the password field changed. This didn't work
though, because remedy gave me an error message saying I could not use
the Password field in a run-if qualification.

Is anyone else out there setting a date/time field whenever the Password
is changing?



Thanks,


Gary Opela, Jr

Sr. Remedy Developer

Leader Communications, Inc.

405 736 3211

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black
Sent: Friday, November 02, 2007 8:41 AM
To: [email protected]
Subject: Re: Pattern Matching

Gary,

How about this...

[^A-z,0-9]

( as is... Not in these sets..)

-- 
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.


On Nov 1, 2007 2:36 PM, Opela, Gary L Contr OC-ALC/ITMA
<[EMAIL PROTECTED]> wrote:
> **
>
>
>
> I know you can use [A-Z] and [a-z] and [0-9] to reference normal
characters.
> How would you reference special characters without explicitly checking
for
> each character?
>
>
>
> Thanks,
>
>
>  Gary Opela, Jr
>
> Sr. Remedy Developer
>
> Leader Communications, Inc.

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to