I have to matches below highlighted area with Regex

I have to matches below highlighted are From Network Nodes to MSRN Number with regex

Thanks
Shaik

any one help please :pray:

Thanks
Shaik

Hello @shaik.muktharvalli1

You can use the below Regular expression to extract the required data based on the MSRN Number keyword,

[\d\sA-Z]+(?=\s+MSRN Number)

Note: Use Trim to remove the unwanted spaces.

Hope it helps!!

@mkankatala But I need to get only from Network Nodes to MSRN Number

Thanks
shaik

Okay I am bit confused, could you share the input in text and expected output again… @shaik.muktharvalli1

input file:

Read_Pdf.txt (25.9 KB)

I need to get only Highlighted roundup area

thanks
shaik

Above Regular expression is work as you expected. Have you tried above expression… @shaik.muktharvalli1

Check the below image for better understanding,

can you extract only from Network nodes to MSRN Number please

Thanks
Shaik

@mkankatala some time MSRN Number text not found then what happen

can you take Initial extract text from Network Nodes please

please share regex

Thanks
Shaik

which text is static in the input text… @shaik.muktharvalli1

@mkankatala below text is statis for Network nodes

Network Nodes Global Title Number Ranges
CC NDC SN Range Start SN Range Stop Prim. Intl. DPC Sec. Intl. DPC Network Owner Leas. Details

Thanks
Shaik

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