string
pattern: the string must match the following regular expression:
^[0-9]+(B|K|M|G|T)$
try pattern