Re: Regex To get the Job Number and Corresponding state
Erick Paquin via beginners <[email protected]> Tue, 25 Feb 2025 11:52:30 -0500
| Newsgroups | gmane.comp.lang.perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
You can use grep for this.. --- Erick Paquin On 25/02/2025 11:49 am, Asad wrote: > Hi All, > > I have a requirement to use regex , find the Job ID for the Current > status: SUCCEEDED and Current Phase: "ZDM_SETUP_TGT" from a file > which has data in the format gives below : > > Job ID: 52 > User: zdmuser > Client: zdmhost > Job Type: "EVAL" > ... > Current status: SUCCEEDED > Current Phase: "ZDM_SETUP_TGT" > > Thanks, -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/