Skip to main content
Nintex Community Menu Bar

Getting part text of Variable

  • June 20, 2017
  • 2 replies
  • 11 views

Forum|alt.badge.img+1

Hi All

i am not so good with regular expressions but i need the following. In most cases the users have a normal department when i query the profile in the workflow. for example FG-26

External users however have "Im Auftrag von / by order of FG-920".

What i need in that case is a regular expression that only stores FG-920.

Can anyone help me with this easy task?

Regards

Pascal

2 replies

Forum|alt.badge.img+14
  • Scholar
  • June 20, 2017

if your department names are always in a form like FG-#### then something like this should work

(?<=w*)FG-d+

204725_pastedImage_3.png


Forum|alt.badge.img+14
  • Scholar
  • June 26, 2017

Hi ‌,  did this answered your question?

if so could you mark it correct?