I have to multiple values from regex

I have to get multiple values from regex

output like:
54 93401
54 93401
54 93402
54 93402
54 93402
54 93402
54 93402
54 93402
54 93402
54 93402
54 93402
54 93402

thanks
shaik

Did you try some on-line regex tester?

Use .NET Regex Tester - Regex Storm for VB.NET regex testing
Alternative general regex testing site https://regex101.com/

Cheers

Hi @shaik.muktharvalli1

Can you please share the text file

Regards,

@shaik.muktharvalli1

you can try this

^\d{2} \d{5}

cheers

@shaik.muktharvalli1
you can use

\b54 \d{5}\b

image

Regards
Dheerandra Vishwakarma

Sample text file:

text.txt (100.5 KB)

thanks
shaik

numbers are dynamically changed

@shaik.muktharvalli1

I have used only number of numbers but not the actual numbers…if format is always 2 number space 5 numbers this would work…

if that is not case then provide more samples of different variations

cheers

it’s dynamically changing …

for example:
54 54765
34 5673
35 923
12 0485

@shaik.muktharvalli1

just use

\b54 \d{3,5}\b

it will be dynamic

image
Regards

@shaik.muktharvalli1

then you can use this

^\d* \d*

cheers

@shaik.muktharvalli1

Try this, it is working for all pages

^(\d+\s+\d+)(?![A-Z])

Cheers!!

I have to get all number after MSISDN number ranges (s)

Can you send regular expression with variable

thanks
shaik

Hey @shaik.muktharvalli1

here the Screenshot for your references

And Attached the Xaml file below :upside_down_face:

Extract_Value_by_regex.zip (1.6 KB)

regex :“\b54 \d{3,5}\b”

Cheers :upside_down_face: :pakistan:

@shaik.muktharvalli1

Is this not resolved with the change of regex?

Can you tell what the issue is if it still persists?

Cheers

Numbers are not constat it will dynamically change other transaction item.

Thanks
shaik

Hi @shaik.muktharvalli1
Use this regex given below :

regex :“\d{2} \d{3,5}\b”

excepted output :

Cheers :upside_down_face: :pakistan:

Numbers are not constant, dynamically change next transaction item.

Ex:
54 674
2 345
987 3452

thanks
shaik

Hey @shaik.muktharvalli1
Use this regex given below :

regex :“\d{1,3} \d{3,5}\b”
image

Just replace this regex with previous regex and it will work

cheers :upside_down_face:

@shaik.muktharvalli1

Can you try the below

Sequence17.xaml (15.0 KB)

Output:

MSISDN.xlsx (23.8 KB)

Regards,