'Removes ``patterns`` from the given ``string``.
This keyword is otherwise identical to `Remove String`, but
the ``patterns`` to search for are considered to be a regular
expression. See `Replace String Using Regexp` for more information
about the regular expression syntax. That keyword can also be
used if there is a need to remove only a certain number of
occurrences.
New in Robot Framework 2.8.2.'

def remove_string_using_regexp(self, string, *patterns):

    for pattern in patterns:
        string = self.replace_string_using_regexp(string, pattern, '')
    return string
