Getting part text of Variable


Badge +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

Userlevel 5
Badge +14

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

(?<=w*)FG-d+

204725_pastedImage_3.png

Userlevel 5
Badge +14

Hi ‌,  did this answered your question?

if so could you mark it correct?

Reply