Skip to main content
Nintex Community Menu Bar

Regular Expression to remove GUID

  • Dec 4, 2017 4:29 PM UTC
  • 3 replies
  • 38 views
  • Translate All

Forum|alt.badge.img+1

I am trying to set a variable with a value pulled from a managed metadata field.

The problem I am having is that the value returned is in the following format: TermName|TermGUID.

I only need the TermName so need to use regular expression to remove the GUID but I am not able to figure out how to do this.

3 replies

Forum|alt.badge.img+12
  • Nintex Partner
  • Dec 4, 2017 4:42 PM UTC

Hi, 

Is the requirement is with Forms or Workflows (On-Premise or Ofifce 365)?

Thanks,
Krishna.

Translate

Forum|alt.badge.img+1
  • Author
  • Dec 4, 2017 4:47 PM UTC

Hi Krishna,

It is a workflow On-Premise requirement.

Thanks,

Matthew

Translate

Forum|alt.badge.img+9
  • Dec 5, 2017 8:40 AM UTC

Use the Regular expression action:

211251_pastedImage_1.png

Operation: Replace text

Pattern: |.*

Replacement text is empty

Translate