-4
There is a form in PHP, that companies use to post vacancies.
Sometimes they put inside the textarea something like:
Send vacancy to [email protected]
I would like to VIA PHP, delete all lines (only the line, in full) that contained an email. Follow the example below:
Vacancy for Mason
Salario: XXX
City: XXXX
Send e-mail with resume to [email protected]
Task: XXXXXXXXXXXXXXXXXX
You should stay:
Vacancy for Mason
Salario: XXX
City: XXXX
Task: XXXXXXXXXXXXXXXXXX
Remembering that it will not always be Send resume to [email protected]. Sometimes they write differently, such as sending data to, send an email with if data. At last.
That’s not a placeholder ?
– Diego Souza
Who? Where is this form from? If it’s not yours, why do you think you’ll be able to change it in PHP (since the form will already be in the browser after the query)? Do you know the name of the object with the textarea? If so, why not just erase its content completely? See how many questions. Sign that your question is not really clear. Please edit it to improve the explanation. :)
– Luiz Vieira