Home: Perl Programming Help: Regular Expressions:
regex expression for multiple line


Jan 4, 2018, 6:25 AM

Views: 6198
     regex expression for multiple line

hi all,

i am working on the regex for below mentioned paragraph

war eligible, init =0*DEC0, ev = {1*BIN0,2*DEC3,6*BIN4,
& 5*BIN43,6*DEC32,
& 5*BIN43,7*DEC32}

Always the line starts from WAR i need to take only the values which are in the { } example:1*BIN0,2*DEC3,6*BIN4,5*BIN43,6*DEC32,5*BIN43,7*DEC32

can anyone help me with this

Veteran / Moderator

Jan 5, 2018, 10:03 AM

Views: 6166
     Re: [beecha] regex expression for multiple line

Please do not post the same question in several sections of this forum.

I am locking this thread. Readers can find the active thread on this subject in the Intermediate section:

(This post was edited by Laurent_R on Jan 5, 2018, 10:23 AM)