Hi

I want to extract everything with multiple lines between two markers.

I want to display everything between:

*WY_LOG_TYPE_ERROR <<***


***>>*
*
*
*
*
So if the text entered in the log file

*WY_LOG_TYPE_ERROR <<***
*================================*
*       2011-03-25 06:08:30*
*================================*
*Blah blah blah*
*

Blah blah blah

*
*
Blah blah blah

*
*
Blah blah blah

*
***>>*

It should match and display everything between the two markers including the
markers.

I tried the following regular expression patterns but it is not working:

   -  pattern=(?s)WY_LOG_TYPE_ERROR\s*<<\*\*(.)*>>\*\*
   -  pattern=(?s)WY_LOG_TYPE_ERROR\s*<<\*\*(.|\n)*>>\*\*
   -  pattern=WY_LOG_TYPE_ERROR\s*<<\*\*(.|\n)*>>\*\*


Can you please tell me what I am missing here.

-- 
Warm Regards

Supratik
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to