Meaningless Drivel is fun!*
The moose likes XML and Related Technologies and the fly likes searching and replacing words in a paragraph Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "searching and replacing words in a paragraph" Watch "searching and replacing words in a paragraph" New topic
Author

searching and replacing words in a paragraph

Christian Nash
Ranch Hand

Joined: Jan 17, 2006
Posts: 107
Hi,
Is it possible to highlight certain words in a paragraph irrespective of the occurrence of the words using the same template. for eg: I have a line of text like 'My name is Christian. Christian Roger Nash'. I would like to make both the words 'Christian' and 'Nash' bold. How can I do this?


- Christian
 
GeeCON Prague 2014
 
subject: searching and replacing words in a paragraph