Overview
The 'Utility - Replace Value with Regex' replaces a value within the text provided using a regex query.
Video Guide
Replace values in text using Power Automate
Credit Count
This is a Utility action and therefore consumes only 0.05 credits per operation (except 1 credit on the free plan). For example, 100 operations will consume 5 credits on a trial and all paid plans.
Default Parameters
The default 'Utility - Replace Value with Regex' flow action parameters are detailed below:
- Text: The text value to process
- Regex: The regex query to use to find matches in the text value
- Replacement Text: (Optional) The text to replace the matched values with, a blank value will remove the matched text values
Advanced Parameters
The advanced 'Utility - Replace Value with Regex' flow action parameters are detailed below:
- Trim Result - Set whether white-space should be trimmed from the processed value
Return Parameters
Action Specific Return Values
- Result - The processed text value
Standard Return Values
- OperationId - The unique ID assigned to this operation.
- HttpStatusCode - The HTTP Status code for the response.
- HttpStatusMessage - The HTTP Status message for the response.
- Errors - An array of error messages should an error occur.
- Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
2 Comments