RegEx Builder
Typical uses of RegEx include:
Input validation String parsing Data scraping String manipulation
IsMatch
Indicates whether the specified regular expression finds a match in the specified input string.
Matches
Searches an input string for all occurrences and returns all the successful matches.
UiPath Studio contains
a RegEx builder that simplifies the creation of regular expressions.
Replace
Replaces strings that match a regular expression pattern with a specified replacement string.
What are some business scenarios in which I will use RegEx?
Retrieving pieces of text that follow a certain pattern, for example: extracting phone numbers that start with a certain digit; collecting all the street names from a bulk text, even if they don't follow a specific pattern - some of them contain "Street", others "Rd.", and so on. It would take much longer to build the same expression using the regular String methods - for example, RegEx has a predefined expression to locate all the URLs in a string.
Regular Expression (REGEX, or regexp)
a specific search pattern that can be used to easily match, locate and manage text. However, creating RegEx expressions may be challenging.