kyon84
Nintex Newbie

Regular expression - subStrings from name

Jump to solution

Hello,

 

got Name which I got from Last Task Respondent Display Name. For example: Tom Hanks. 

And trying to convert it to this format - ToHa.

 

I want first two characters from First Name and first two characters from Last Name. Can you please advise how to split value by " " an convert to desired format?

 

Thank you

0 Kudos
Reply
1 Reply
claudiaurbanski
Nintex Newbie

Re: Regular expression - subStrings from name

Jump to solution

@kyon84 You can try the following regex:

 

Pattern: \W*\b(\p{L}{1,2})\w*\W*

Replacement text:$1

 

claudiaurbanski_0-1616416697719.png

claudiaurbanski_1-1616416720649.png

 

View solution in original post

0 Kudos
Reply