I have a array of strings that returns me as follows:
Array
(
[0] => motivação,
[1] => sentimento33
[2] => que..
[3] => 56nos
[4] => impulsiona\
[5] => proporciona
[6] => investir^^
[7] => determinado
[8] => grau?
[9] => esforço!
)
I want the return to be like this:
Array
(
[0] => motivação
[1] => sentimento
[2] => que
[3] => nos
[4] => impulsiona
[5] => proporciona
[6] => investir
[7] => determinado
[8] => grau
[9] => esforço
)
Maybe regex would solve this problem, but I have not yet found a solution. How can I remove character that is not a letter in a given string ?