0 votes

Hi, how can I change regex match to case sensitive in Custom Command conditions?


by (2.6k points)

In my initial question it should be: 'to be case sensitive', sorry.

It doesn't matter if I use [a-z]+ or [A-Z]+ in regex pattern, but it should. And I need to recognize if the letters in parameter are capital or not..

Live example is screenshot from my initial question.

1 Answer

0 votes
by (177k points)
selected by
Best answer


For the condition to be met when the parameter value contains only uppercase letters, you need to use the following regular expression: (?-i)^[A-Z]*$

For lower case: (?-i)^[a-z]*$

For the condition to be met when the parameter value starts with a single capital letter followed by lowercase letters, use the following regular expression: (?-i)^[A-Z]{1}[a-z]*$

Related questions

0 votes
1 answer

I added the Password last set field to the Admin view but when I click on edit it allows the admin user to change the value. Adaxes correclty handel Bad Password time and Bad password ... last set, so I guest there is a way but I can not find it. Thanks you

asked Dec 19, 2019 by tomlaf (470 points)
0 votes
1 answer

I am trying to use a property pattern to prevent email forwarding to accounts in other domains managed by Adaxes. Here is my regex: ^([^,]+,)+(DC=domain,DC=local) ... 't working? Is Adaxes using some other value before resolving the DN? Thanks in advance! Leah

asked May 9, 2019 by loliver (710 points)
0 votes
1 answer

Our Help Desk currently 'mirrors' the group membership of a new user based on another existing user in our AD. I'd like to be able to automate this so that the initiator ... and 'paste' it on the new user being created. Any help on this would be appreciated!

asked Apr 21 by RayBilyk (480 points)
0 votes
1 answer

Hi There, Im looking to combine multiple built in commands to create a process. I would like to make one command that when clicked will enable an account, walk you through the ... used, since they will ask you where and what to add the user to. Thanks, Chirs

asked Aug 23, 2017 by Bowman4864 (1.4k points)
0 votes
1 answer

Hi, I need to start Adaxes scheduled task from Powershell console running on another host. How can I do that?

asked May 21 by KIT (2.6k points)
2,187 questions
1,949 answers
5,344 users