This guide shows you, how to to use Regex in UiPath to search texts (e.g. mails, documents, Excel files etc.). The 'Matches' and 'Is Match' is used.
You could also watch:
🔵 UiPath Beginners Tutorial - https://youtu.be/3ZKzTHdpsTs
🔵 Basic Regex Tutorial - https://youtu.be/FBZyVz2fSKA
🔵 How to Extract data from an invoice with Regex in UiPath - https://youtu.be/uCdBC2pXPyY
00:08 What is Regex
Regex or Regular Expression is just a series of characters, that defines a search pattern.
01:32 Matches - Basic Lesson
The Matches activity will apply the Regex patter to a string and then get the extracted data (strings) to an IEnumerable, which you can see as a list.
03:44 Print out the first Match
Using the .Value and specifying an index numbers enables us to easily get the first match printed out.
05:02 Count the number of Matches
With the .Count we can count the number of occurrences in
05:44 Matches - Advanced Lesson (Print out all Matches)
We can print all our matches out with an For Each. Remember to change the TypeArgument.
07:28 Is Match
The Is Match activity we use to ask, whether a match exist or not. The result will be a boolean (true/false).
Connect with me:
🔔 Subscribe - http://www.youtube.com/user/klogeanders?sub_confirmation=1
💼 LinkedIn - https://www.linkedin.com/in/andersjensens/
👥 Facebook - https://www.facebook.com/andersjensenorg
💌 Email Newsletter - https://andersjensen.org/email-newsletter/
📂Get the files from the video
https://1drv.ms/u/s!Al9RjoWZcShJiNVFeiLxOcqxQFZKjA?e=F6v1pD
#uipath #rpa #automation