Hello,
i have converted data table variable to string variable which looks as below

i want to use regex and fetch all the numbers again without word ID now.
Also let me know if any alternative logic if youll know in a shorter way.
Thanks in advance.
Hello,
i have converted data table variable to string variable which looks as below

i want to use regex and fetch all the numbers again without word ID now.
Also let me know if any alternative logic if youll know in a shorter way.
Thanks in advance.
Could you explain what is the process you are doing so I can help you out.
Regards
i m having a CSV file containing ID as the column with its values so i want to fetch all the values under that column (ID) and paste it into one application directly.
You want to paste the ID’s one by one or all the 6 ID’s at a time. Please specify.
Regards
At a time and these ID will be dynamic it can be at any numbers its not static as 6
You can use the below syntax:
Input= "ID
4734731
4734735
4734738
4734740
4735392
4735395"
Output= System.Text.RegularExpressions.Regex.Match(Input,"(?<=ID\s*)\d*[\s\S]*(?=\d*)").Value.Trim()
You can use the Output variable in the application to print the ID’s.
Hope it helps!!
Regards
Thanks alot it worked as needed
You’re welcome @tejas.kotharkar
Happy Automation!!
Regards
I hope you got the solution. Make my post mark as solution to close the loop.
Happy Automation!! @tejas.kotharkar
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.