🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

regex formula

User: "Ciprian Codrea"
Altair Community Member
Updated by Ciprian Codrea

I have a PDF file and i want to capture a number,  On the first row  is *01 and on the second row is E1, I want to capture the first number after E1 as below:

*01        NZ             6500                   
           E1                                9500

So I want to search for *01 and also on the second row for E1 and to capture "9500" in this example, Do somebody know  why my regex is not working?

(?m)^\*01.*\n^\s*E1.*?(\d+)

Thank  you in advance,

Ciprian

 

Find more posts tagged with