Which regex expression to use to not select the space in the text?

For instance I have the following text :

or

Which regex expression to fill in to remove the space?
Basically I’m only interested on the number between badge number and Current position

Thanks in advance for your prompt help as this robot is available in PRD for users.

Hi,

Can you try the following pattern?

(?<=Badge number .*)\d+(?=.*Current)

Note : This works in .net regex. However might not work in other language. Please check it using proper tester.

Regards,

as an alternate:
grafik
we go for more, and trim it

OR
grafik
we bring the digit within a group

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.