This question already has an answer here:
What I want to achieve: I want to use a simple PHP form to send data to a MySQL database. However, when the input contains a certain string, I want to remove it before it is saved in the MySQL database.
Example: input is 'https://www.google.com', but I want to remove the 'https://' part, so only 'www.google.com' is saved in the database.
</div>