MarketplaceListingsSnippetNovigo Solutions - Regex Replace

Novigo Solutions - Regex Replace

Bronze Certified

Snippet

2 reviews

23

Novigo Solutions - Regex Replace

Bronze Certified

Snippet

2 reviews

23


Summary

This Snippet helps to replace a pattern in a string for a required number of times, or only the first occurrence or the last occurrence or all the occurrences needed

carouselImage0

Overview

This Snippet requires the following six arguments:

Input Arguments:

1. in_String (String): The input string value that needs to be provided to perform the regex string replacement. Required
2. in_Pattern (String): The Regex pattern that is used to match the required elements in the input string argument that needs to be replaced. Required
3. in_ReplacementString (String): The replacement string that needs to be put in place of the pattern matched in the input String. By default the value is Empty String. Optional
4. in_OccurrencesToReplace (String): This is a numeric value that should be in the form of a String indicating the number of occurrences of the matched regex pattern that needs to be replaced. By default it takes all the numbers of matched occurrences. Optional
5. in_RightToLeft (Boolean): This is a boolean value indicating the direction of the replacement. By default the value is False. Optional

Output Arguments:
1. out_String (String): The output string after the regex string replacement operation. Required.

Benefits


Published: 15 Jul 2020 | Updated: 26 Oct 2020

Trusted Source


License

3-Clause BSD


Code Language

Visual Basic


Runtime

.NET Framework


Tags

First Occurrence
Last Occurrence
Regex Replace
replace
Required Occurrences

Compatibility

Compatible with all Studio versions starting with 2018.4.1, Version = VB.net


Dependencies

UiPath.System.Activities >= 18.4.1



Similar Listings