Parsing out is like dissecting a sentence to grab the keywords.
Say you have "Error: 404 - Not Found". You might parse out "404" to log it.
In JS, `split()` or `match()` works. Python? `re` module for regex.
Pro tip: Always handle cases where the thing you're parsing isn’t there. Silent fails suck.
Say you have "Error: 404 - Not Found". You might parse out "404" to log it.
In JS, `split()` or `match()` works. Python? `re` module for regex.
Pro tip: Always handle cases where the thing you're parsing isn’t there. Silent fails suck.
