Question: PYTHON How can I remove '@user', '@user:', 'url', and 'RT' using regex in python. For example: RT @RobOakeshott1: The National Party declares war on the
PYTHON
How can I remove '@user', '@user:', 'url', and 'RT' using regex in python.
For example:
RT @RobOakeshott1: The National Party declares war on the Gloucester community because they stood up for themselves and won. Remember https://t.co/RKyppIS5c9
In the above, I want to remove 'RT' and '@RobOakeshott1:'
It should read:
The National Party declares war on the Gloucester community because they stood up for themselves and won. Remember
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
