Skip to main content
Nintex Community Menu Bar

Split or Extract a Metadata on the left side with a Regex

  • January 19, 2021
  • 2 replies
  • 66 views

Hello together,

 

I have the problem that I retrieve values from a managed metadata field. It looks like

value | adgfbn-fjkdjfkd-fkdslk

I want to extract only the left value via Regex. I tried several things. I put the pattern to [|] or [|]

 

But so far no success. Could you help me with this!

 

Best regards

 

Matthias

2 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • January 20, 2021
Hi,

Regex will be
^w*

Forum|alt.badge.img+9
  • January 20, 2021

Use extract with following regular expression: ^.*(?= | )