File size: 303 Bytes
8422173
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import re

def remove_stars(text):
    """

    Removes all '*' characters (including sequences of them) from the input string.



    Parameters:

        text (str): The input string.



    Returns:

        str: The string without any '*' characters.

    """
    return re.sub(r'\*+', '', text)