Reads format type from the clipboard.
format
format should contain valid ASCII characters and have / separator. a/c, a/bc are valid formats while /abc, abc/, a/, /a, a are not valid.
/
a/c
a/bc
/abc
abc/
a/
/a
a