Learner007
(Uipath Learner)
October 9, 2022, 7:20pm
1
Hi Everyone, I have a scenario that i want to split data separately but i have tried split based on space and i tried some basic Regex which i know but it didn’t worked for me. can anyone guide me how to do that.
I’m attaching the sample data below.
I want output in row by row
Ex O/p : All
Select the department you want to search in
All Categories
Alexa Skills
Input file :
data.txt (1.0 KB)
Emira
(Emira Gasmi)
October 9, 2022, 7:52pm
2
Hi @Learner007
Can you share input and output example?
Learner007
(Uipath Learner)
October 9, 2022, 7:56pm
3
Hi @Emira i attached input text file in question please check once and output also i have mentioned i need to display 1 by 1 item.
Hi @Learner007
Try this
strOutput =
Regex.Replace(InputText," {2,}" ,Environment.NewLine)
1 Like
Learner007
(Uipath Learner)
October 10, 2022, 3:32am
7
hi @kumar.varun2 it is working but if i want to loop this data 1 by 1 how to do it. Please help me on this.
@Learner007
you can use the split for that
Demo.xaml (9.2 KB)
Learner007
(Uipath Learner)
October 10, 2022, 3:43am
9
Thanks @kumar.varun2 It’s working.
1 Like
Aleem_Khan
(Aleem Anwer)
October 11, 2022, 7:14pm
10
Hi expert can you please help me to understand what is meaning here {2,}
Hi @Aleem_Khan
It matches occurrence of space character for 2 or more times. Refer the screenshot
system
(system)
Closed
October 15, 2022, 8:06am
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.