REG String

Hello Friends, Good day,

I am having a text in my data item either "A" Or "4" Or "$"

incase it contains "A"means i need output as "Alphapet" in result data item
"4"means i need output as "Number" in result data item
"$"means i need output as "Symbol" in result data item

Thanks in Advance,
R.Gunasekar
 
Use a Choice stage and for every case set the different output
Hi Silva how many choice node i have to create for A-Z 26 and a-z 26 and 0-9 9 and special characters 15 nodes so total 76 nodes i have to create it may slow down my process any alternative solution is there. Please guide me.
 

RobHamlin

New Member
I would recommend having a look at Utility - Strings: Test Regex Match. You could then use Regex patterns to determine which category. eg. for Alphabet, use pattern "[A-Za-z]".
 

sumire

New Member
How about using AVO.RegEx
First evaluate with AVO.RegEx, then use choice stage
RegEx is here https://digitalexchange.blueprism.com/dx/entry/3593/solution/avoregex

Action ”Test Regex Match"
Input:
Pegex Pattern : "[a-zA-Z]"
Text To Perform Search On : Data Item (1 character to evaluate)
Output:
Regex Match : Bool

you can get this pattern
> "A"means i need output as "Alphapet" in result data item

ins same way you make 3 stage to evaluate - alphabet, number, symbol
 
Last edited:
Top