Skip to main content
Best Answer

Can Condition Statement use [a-z] to check if value has a letter in it?

  • March 23, 2018
  • 4 replies
  • 192 views

Forum|alt.badge.img

I am using a Condition Statement in the AttributeManager to check if the attribute ends with a letter. Using [a-z] does not seem to work and I am assuming it is because the test sees it as text not a Regular Expression.

Is there a way to get this to work or do I need to have a Test Clause for each letter of the alphabet?

Regards

Best answer by david_r

Try this instead:

The $-sign at the end of the regex means "end-of-line"

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

david_r
Celebrity
  • Best Answer
  • March 23, 2018

Try this instead:

The $-sign at the end of the regex means "end-of-line"


Forum|alt.badge.img
  • Author
  • March 23, 2018

Try this instead:

The $-sign at the end of the regex means "end-of-line"

That sure did it, thank you kindly. Is there a way to have it not be case sensitive?

 

 


david_r
Celebrity
  • March 23, 2018
That sure did it, thank you kindly. Is there a way to have it not be case sensitive?

 

 

You can use the following expression to match both lower and upper case:

 

[a-zA-Z]$

 


Forum|alt.badge.img
  • Author
  • March 23, 2018
You can use the following expression to match both lower and upper case:

 

[a-zA-Z]$

 

That is perfect, thank you so much.

 

 

Cheers