Attempt to parse a string into a valid a buffer format.
Accepted formats:
the parsed string in Buffer format or undefined if no regex matches found
Attempt to parse a string into a valid a buffer format.
Accepted formats: