CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



beecha
Novice

Jan 4, 2018, 6:25 AM

Post #1 of 2 (9884 views)
     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


Laurent_R
Veteran / Moderator

Jan 5, 2018, 10:03 AM

Post #2 of 2 (9852 views)
     Re: [beecha] regex expression for multiple line [In reply to]  

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:
http://perlguru.com/gforum.cgi?post=84614;sb=post_latest_reply;so=ASC;forum_view=forum_view_collapsed;;page=unread#unread


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

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives