I'm not good with regex but i want to use it to extract words from a string.
The words i need should have minimum 4 characters and the provided string can be utf8.
Example string:
Sus azahares presentan gruesos pétalos blancos te?idos de rosa o violáceo en la parte externa, con numerosos estambres (20-40).
Desired output:
Array(
[0] => azahares
[1] => presentan
[2] => gruesos
[3] => pétalos
[4] => blancos
[5] => te?idos
[6] => rosa
[7] => violáceo
[8] => parte
[9] => externa
[10] => numerosos
[11] => estambres
)
See Question&Answers more detail:os