re function similar to grep | cut -d | SoloLearn: Learn to code for FREE!

+3

re function similar to grep | cut -d

I just finished a project where I tried to mimic a bash script I wrote to parse some logs to compare, and had a heck of a time getting the sequence of regex functions to capture what I wanted. Is there something similar to grep | cut -d | grep that re is capable of. I have looked briefly at groups, but could not get it to do what I wanted. 😣 It is not like I am going to give up my bash cron jobs, but being able to do this stuff in python will make it easier to go cross-platform?! 😉 https://code.sololearn.com/cpV137wADpqo

5/17/2020 1:08:37 AM

Code Crasher

1 Answer

New Answer

0

Code Crasher really this isn't posted by me 😞 I don't know you can check my answers I always like to give the write answer not the spam. Really bro a lot of sorry for that but yet I don't know that who had posted this spam comment from my id. Sorry again