Python regex search (frustrated with regex) -


I have the lower string of text; I line needs to parse / print " jil & lt; fwks_future_dated_change_batch.jil | T SCR232425.log " (second line from the bottom) basically
. "^ Jill & lt ; .... $ "(followed by the 'Jill' followed by the beginning of the line; by some, then end of the line)
I'm matching again and searching again, but I'm unable to collect the required regex.

  server deployment: the BT Test: MER1-BATCHT3 MER1-BATCHT4 BT for pre-Prod: MER2-BATCHP03 MER2-BATCHP04 AUTOSYS instruction: PVCs aka \\ SCM shares \ Get the file from SCM \ PVCs \ VM \ Projects \ Batch_Apps \ Batch_Apps \ AutoSys \ FutureDatedChangeBatch \ fwks_future_dated_change_batch-TEST.jil test for Autosys log test AUTOSYS unix machine run for fwks_future_dated_change_batch-PROD.jil. /opt/CA/autosys451/autouser/autosys.ksh* Change & lt name fwks_future_dated_change_batch-TEST.jil order autosys Run fwks_future_dated_change_batch.jil Jill FTP Test fwks_future_dated_change_batch-TEST.jil; Fwks_future_dated_change_batch.jil | Check for Tee SCR232425.log message Finally code = 0 exit  

What you want to do:

  match = re-search ("(? M) ^ prison [^ \ n] +? Prison? *? $", Subject, re. Introxes) Match: Results = match.group () Other: Results = ""  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -