View Single Post
Posts: 309 | Thanked: 519 times | Joined on Oct 2010
#873
slightly random question, but anyone know any good regex for grabbing sender and message info?

I've been going through the whatsup-log.txt to see what messages I may be missing, but the xml makes my head spin.

Edit: nvm, I just use this to check

Code:
paste -d, -s whatsup-log.txt | grep -oP '<message from.*?(</message>|</error>)' | less -S

Last edited by tetris11_; 2016-01-30 at 01:45. Reason: added pattern