3
I have a array of strings who returns to 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 haven’t found a solution yet. How can I remove a character that isn’t a letter in a given string?
I think it would be enough to use something like [ A-boom].
– Inkeliz