How can I implement my requirement using pxContainsViaRegex
Hi,
I am unable to understand the OOTB function @pxContainsViaRegex. How can we implement our requirement by using this RegularExpression.
1. I have a requirement that property should throw an error if we didn't gave Comma which can be seperated for every 3 digits..
For Eg: 123,456,678-------correct
1234,567 --------Incorrect
123,456,78------Incorrect
123,456,678------correct
And above scenario is already implemented by using pxContainsRegex. So I have an another requirement to throw an error in this below scenario like:
For eg: 1@3,456,789---In this scenario it should throw an error.
!@#,456,789----In this scenario also should throw an error
123,$56,789-----In this scenario should throw an error.
Hi,
I am unable to understand the OOTB function @pxContainsViaRegex. How can we implement our requirement by using this RegularExpression.
1. I have a requirement that property should throw an error if we didn't gave Comma which can be seperated for every 3 digits..
For Eg: 123,456,678-------correct
1234,567 --------Incorrect
123,456,78------Incorrect
123,456,678------correct
And above scenario is already implemented by using pxContainsRegex. So I have an another requirement to throw an error in this below scenario like:
For eg: 1@3,456,789---In this scenario it should throw an error.
!@#,456,789----In this scenario also should throw an error
123,$56,789-----In this scenario should throw an error.
I know there is particular significance for every symbol (Literals or metacharacters) Can anyone please explain the above scenario and Basics we need to know when we are going to use this requirement.
Thank you.