Hi Everyone,
How do I extract and convert a string from:
Do I have to use a substring method to extract those characters inside the brackets? ( )
Hi Everyone,
How do I extract and convert a string from:
Do I have to use a substring method to extract those characters inside the brackets? ( )
@Hey_hi use this to extract text inside brackets
assuming text = “Justin (abadsa)”
System.text.regularexpressions.regex.match(text, "\((.*?)\)").groups(1).value
Hi @Hey_hi
Take a look at this Regex pattern:
Do you need assistance with writing the value into a second column? Take a look here:
UiPath: Data Tables - How to build them, add data row and output data table - YouTube
Cheers
Steve
I have made a demo workflow. See orange and Red highlighted Logs below.
Main.xaml (9.8 KB)
This is a great post which will help also:
Hopefully this helps you
Cheers
Steve
Hi @Steven_McKeering ,
Thank you so much for the examples and guidance.
I have managed to accomplish my workflow through your methods.
Have a great day ahead!
Cheers.
Glad I could help!
You can thank @AndersJensen (video) and @Palaniyappan (DataTable post) for their great tutorials and resources
I am always happy to assist where I can
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.