Skip to main content
Solved

I would like to use @ReplaceRegEx where i find the string and just remove it completely, so in essence replace with nothing. e.g. @ReplaceRegEx(@Value(new_name),([A-Z][A-Z_][0-9][0-9][0-9][A-Z][_]),) how can I do this.

  • August 6, 2020
  • 2 replies
  • 72 views

oliver.morris
Contributor
Forum|alt.badge.img+14

if I just leave it blank it fails.

Thank you for your help.

Best answer by ebygomm

If you want to remove the string use "" as the replacement text

so

@ReplaceRegEx(@Value(new_name),([A-Z][A-Z_][0-9][0-9][0-9][A-Z][_]),"")

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+45
  • Influencer
  • Best Answer
  • August 6, 2020

If you want to remove the string use "" as the replacement text

so

@ReplaceRegEx(@Value(new_name),([A-Z][A-Z_][0-9][0-9][0-9][A-Z][_]),"")

 


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • August 6, 2020

perfect, thanks I tried single quotes before, but not double. Thank you!