Skip to main content
Nintex Community Menu Bar

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

  • Jan 19, 2021 12:49 PM UTC
  • 2 replies
  • 104 views
  • Translate All

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

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Jan 20, 2021 1:00 AM UTC
Hi,

Regex will be
^w*
Translate

Forum|alt.badge.img+9
  • Jan 20, 2021 9:07 AM UTC

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

 

Translate