I need Help with another dialogue error

i have a quick question. Is there a way i can make a certain word change to a different one? Like say i have 50 words of apple and i want to change it to 50 oranges without fixing it one by one. What do i need to do?