<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def strip_glob(string, split_str=' '):
 """ Strip glob portion in `string`. 'glob like' 'glo' 'glob' 'glob' :type string: str :rtype: str """

    string = _GLOB_PORTION_RE.sub(split_str, string)
    return string.strip()