# Highlight a particular word

**URL:** <https://www.ruby-forum.com/t/highlight-a-particular-word/133405>\
**Category:** JRuby\
**Created:** [March 31, 2008, 11:31am UTC](https://www.ruby-forum.com/t/highlight-a-particular-word/133405 "2008-03-31T11:31:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemantaray](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b19c9b/32.png) [@hemantaray](https://www.ruby-forum.com/u/hemantaray)\
**Post date:** [March 31, 2008, 11:31am UTC](https://www.ruby-forum.com/t/highlight-a-particular-word/133405/1 "2008-03-31T11:31:12Z")

</div>

I want to highlight a particular wold from a text…  
I don’t know where to write the code and what will be the code also.  
plz help with simple code
