'Is there python Function to remove word between special character and space

I'm trying to remove the *@hmo2406* word using the below function. Could you check and help me?

'*@hmo24* وين هل الغيبه  '

>>> import re
>>> re.sub('\n@.*?\n','',a, flags=re.DOTALL)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source