Replace text with matching Regex#60
Closed
raghavs046 wants to merge 10 commits intoServiceNowDevProgram:mainfrom
Closed
Replace text with matching Regex#60raghavs046 wants to merge 10 commits intoServiceNowDevProgram:mainfrom
raghavs046 wants to merge 10 commits intoServiceNowDevProgram:mainfrom
Conversation
…finition_25c5d44753d876104834d2a0a0490e58.xml
…finition_3b8b740f539c76104834d2a0a0490e8d.xml
…finition_7681b332531876104834d2a0a0490e36.xml
…finition_8391e73a539476104834d2a0a0490ebe.xml
|
✅ Valid PR for ActionPack Thank you for your contribution. This PR complies with the CONTRIBUTING.md. |
Contributor
Author
|
Created again, previous one was closed due to invalid file |
Contributor
|
We already have regexutils available with the same underlying logic. The only difference in this case is the regex expression being used, which can be provided as an input to the existing utility method. Therefore, this appears to be just an example rather than a new enhancement. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This action will allow users to define a Regex and Text. The action will replace all the patterns matching regex in the given text.
Example: This flow action can be used to find and replace any sys_ids coming through inbound emails.
Example Input : Regex: [a-z0-9]{32} // sys_id regex Text Value: 534af435a324c235425635535643 // sample text
Inputs:
Output: