What's the best method for parsing out data from a messy text file? or Struggling with parsing out va

22 Replies, 1953 Views

If you’re on Linux, `grep -oP` with regex can pull out specific patterns.

For example, `grep -oP 'error:\s+\K\d+'` gets error codes after "error: ".

Not perfect, but it’s saved me hours of manual parsing out.

Messages In This Thread



Users browsing this thread: 1 Guest(s)