Re: how to grep

2017-08-04 Thread dieter
Iranna Mathapati <iranna.gan...@gmail.com> writes: > How to grep values from below out put string. > > pattern should include "Fabric Module". One possible way would be to use a regular expression -- see the documentation for the "re" module. -- https://mail

Re: how to grep

2017-08-04 Thread Steve D'Aprano
On Fri, 4 Aug 2017 10:33 pm, Iranna Mathapati wrote: > Hi Team, > > How to grep values from below out put string. > > pattern should include "Fabric Module". > > grepping Fabric module values only > > str = ''' > 22 0Fabric Module

how to grep

2017-08-04 Thread Iranna Mathapati
Hi Team, How to grep values from below out put string. pattern should include "Fabric Module". grepping Fabric module values only str = ''' 22 0Fabric Module J8N-C9508-FM ok 24 0Fabric ModuleJ8N-C9508-FM