Skip to main content
Nintex Community Menu Bar

Regular Expression to remove GUID

  • December 4, 2017
  • 3 replies
  • 5 views

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
  • December 4, 2017

Hi, 

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

Thanks,
Krishna.


Forum|alt.badge.img+1
  • Author
  • December 4, 2017

Hi Krishna,

It is a workflow On-Premise requirement.

Thanks,

Matthew


Forum|alt.badge.img+9
  • December 5, 2017

Use the Regular expression action:

211251_pastedImage_1.png

Operation: Replace text

Pattern: |.*

Replacement text is empty