Hi all,

I have a string in which I want to find any wholly uppercase word (e.g. TEST ) and then convert it into ( Test ) .

I can't code it , headache after many trials !

Can someone help ?

Hint : I can't use explode(" ",$string ) to convert it into an array to itreate it .. Because the string words are not only separated by spaces , but some words are separated by \n

Regards,
Dr Mostafa