Highlighting  all  the occurrences of the search text

Hello All,
can anybody tell me how to highlight the search text in HTML in JSP.
I have this String...
MTMISRVLGL IRDQAISTTF GANAVTDAFW VAFRIPNFLR RLFAEGSFAT AFVPVFTEVK ETRPHADLRE LMARVSGTLG GMLLLITALG LIFTPQLAAV
and I want to highlight, just QAISTTF GAN, GMLLLITALG, LAAV and change the font color of the search text.
Any help would be appreciated.

If I do like that, search string is displayed, but it is below the main string.
MTMISRVLGL IRDQAISTTF GANAVTDAFW VAFRIPNFLR RLFAEGSFAT AFVPVFTEVK ETRPHADLRE LMARVSGTLG GMLLLITALG LIFTPQLAAV
QAISTTF GAN, GMLLLITALG, LAAV ...... I don't want like this.
I want the main string and in that, what ever I want to search has to be highlighted.
MTMISRVLGL IRDQAISTTF GANAVTDAFW VAFRIPNFLR RLFAEGSFAT AFVPVFTEVK ETRPHADLRE LMARVSGTLG GMLLLITALG LIFTPQLAAV

Similar Messages

  • Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

    Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

    Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

  • I want to export all the screen text in a long video to a text doc

    I want to export all the screen text in a long video to a text document. Is there a way to do that without copying and pasting each item?

    Fortunately, I still have the project ready at hand, so I can cut and paste each text window from there, but I do admire the creativity of your approach. I thought about making the desired document as a collection of still images without the video track removed, but I decided that would be too cumbersome for this purpose.
    It still seems to me that there ought to be a way to access the text resident in FCP and turn it into a text file, but maybe this will have to written into the program as a feature. Probably, it would not be a high priority among all the other tasks on the wish list.
    Thanks for your help. If I learn something interesting, I will post it for the benefit of others who might want do what I want to do now. Off I go now to cut and paste!

  • I installed Safari 7.1. Now YouTube videos have a bad font for all the interface text that is part of the video embed.

    Since installing Safari 7.1, all the text in YouTube videos (title, resolution, etc.) is all little font error boxes and therefore completely unreadable.  Nothing else is having this problem, just the text that is in the embedded videos themselves.
    Any suggestions?

    What I did (in this order) was, set YouTube to HTML 5, bring Flash up to date, fontrestore, clean font cache with Fusion, reboot.
    So far it has now remained fixed for me.  I have Mavericks and it is up to date.
    by ‘fontrestore’ I mean
         sudo fontrestore default
    in terminal as described on http://apple.stackexchange.com/questions/113107/how-to-restore-default-fonts-on- mavericks
    fontrestore removed some of my fonts from my System and Library, but I moved them all back in on the theory that I might want to add fonts, but was not looking to remove them.
    I don’t know which of these steps solved the problem.  All I know is what I did and what the result was for me.  As always, use ‘sudo’ at your own risk.

  • Libreoffice not showing all the message texts in menus

    Hi,
    I use libreoffice Build-ID: 4.2.5.2 Arch Linux build-1 on my laptop and a week ago i noticed that a lot of the text in the menus is not displayed anymore.  Also any mouse over texts are empty.
    I tried to install some true type fonts but this did not help.  Then I installed some more localization packages but this did not help either.  What could be the reason for this defect?

    What version of libreoffice were you using back when the menu text worked? If it's the same version, maybe an Xorg or Cairo update broke it. Accelerated text sometimes has issues and you can test that by putting
    Section "Device"
    Option "ExaNoComposite" "true"
    EndSection
    in an xorg.conf.

  • How can I get rid of all the search engines in this "intelligent" adress bar?

    The search engines make web browsing really slow. I want to get them off from the address bar, now I must do everything through Google.

    See:
    * https://support.mozilla.com/kb/Location+bar+search

  • How to make a group in contacts to send them all the same text?

    I am wondering if there is a way to make a group in contacts so I can send a text and have it go to all of the people in that group at once.  Help please.

    I don't think so. Search for an app in App Store or create a message with all contacts you want and use this to send message to this group of people.

  • How to make search string for the searched text containing single quote?

    Hi all,
    When trying to search some Contacts from Eloqua, I have to make a search string which would list out some specified EmailAddress.
    Unfortunately, I meet several emails who have single quote in their spelling.
    I got 'invalid format' error when both using them directly and making single quote twice.
    Any suggestions?
    Thanks,
    Biao

    When testing, the following examples:
    GET /Api/rest/1.0/data/contacts?search=emailAddress=bm'[email protected]
    GET /Api/rest/1.0/data/contacts?search='emailAddress=bm'[email protected]'
    GET /Api/rest/1.0/data/contacts?search=emailAddress="bm'[email protected]"
    GET /Api/rest/1.0/data/contacts?search="emailAddress=bm'[email protected]"
    All return:
      "elements":
        "type":"Contact",
        "id":"1421620",
        "createdAt":"1419611518",
        "depth":"minimal",
        "name":"bm'[email protected]",
        "updatedAt":"1419611519",
        "emailAddress":"bm'[email protected]"
      "page":1,
      "pageSize":1000,
      "total":1
    Likewise, the following returns nothing:
    GET /Api/rest/1.0/data/contacts?search=emailAddress='bm'[email protected]'
    Hopefully this helps,
    Bojan

  • How do i highlight all the photos in an album at once so I can publish to facebook

    Lame question:  How do I highlight a whole album at once to avoid clicking on each picture individually so I can post to FB?

    Same as anywhere in the OS.
    Command-a > Selects everything
    click selects an object
    command click to select additional options
    Click on one object. Then shift click on the last item in a row and it selects all between them

  • After automatically updating when I turned on the computer, Firefox erased all my History from the end of September until the update yesterday; how can I get back all the searches in my Show All History?

    When I opened Firefox and it automatically updated yesterday, all my search history from then back to the end of September was wiped clean from the "Show All History." I very much need that search history, which is essential for my research. I didn't bookmark it because I knew it would always be there. But it's not. Please help.

    Firefox tarballs from Mozilla Org use prefs within Firefox for updates. The "toggle" for not automatically updating - '''app.update.enabled''' and where to look for updates - '''app.update.url'''. The first needs to be '''''false''''' and the second could be a '''''null''''' string, do an update can't be found.
    ''I use both prefs to keep Firefox from updating by itself. I install each new version of Firefox as it is released, and keep the older versions around for reference purposes. Those prefs are the same since Firefox 1.5 came out.''
    The versions of Firefox that are part of an operating system installation usually are that OS's own build of Firefox, and don't use the same update setup as Mozilla uses, in most cases. I am not familiar with Cent OS, but Ubuntu and Debian look for Firefox updates and from their own program repository servers outside of Firefox - as with the tarballs from Mozilla.

  • How to show all the search result in a report page

    I have a report page which the user can enter first or last name to find the matched employees. The current report only show maximum of 15 matched results. How to show all of them in one page if more than 15.
    Also, the employee name on the report is a link, how to make the link to be conditional. ( I mean it can be a link or not based on another column)
    Thanks.
    Jen

    Hi, you can change the number of rows on the report definition page (15 is the default value)- that's also where you can change pagination and max. number of rows etc.
    About the second question - you will have to use Case or Decode in your report query and have the value as link or not based on the condition column, something like:
    Select Decode(condition_column, 'link_value', '<a href="f?p=YOUR_APP:PAGE_TO_LINK_TO:'  || :SESSION || ':::::">display_column</a>' , display_column) From .....
    Hope this helps.

  • I'm using Firefox w/ Yahoo Mail on a Mac. When I try to copy/paste text in the body of the emai, it thinks I'm inserting a picture & all kinds of little text boxes appear. What can I do to get rid of all the little text boxes?

    This always happens when I try to copy/paste text into the body of my yahoo email. It only started happening when i switched to a mac.

    Try this extension:
    *Extended Copy Menu (fix version): https://addons.mozilla.org/firefox/addon/extended-copy-menu-fix-vers

  • I have an iPhone 3GS and when I go on safari and press the bookmark icon at the bottom of the screen all the search engine have gone such as google, yahoo, bing can someone explain how I've made them go and how do I get them back :-(

    Hello
    I got an iPhone 3GS and in safari the bookmark icon when pressed use to reveal a listing of different search engines (google, yahoo, bing etc) with a users guide at the bottom of the listings but now they've gone .
    How has this happen?
    How to I restore them?

    How do I find out if someone has taken the time to answer my question. This is my first time on this site.

  • HELP! i was trying to get pics from my newer phone onto my computer for a project. i accidentally restored my old iphone and lost all the pictures, texts, from my newer one. can this be fixed? please say yes :(

    please someone help me!

    You need to check if a back up was made of your new phone when the content that has now gone missing was on their.
    Also if you used iCloud you could check if there was a back up made on there and it should have pictures from camera roll if they were on there when the back up was made. Also you could check photostream if you used it and see if the photos are on there aswel.
    hope this helps

  • [SOLVED]Where can I see all the scrolling text at boot?

    I want to know what is being loaded at startup because my boot up is pretty slow.
    Last edited by xiaweitang (2010-02-12 03:16:38)

    You can also disable the clearing of those messages
    http://wiki.archlinux.org/index.php/Dis … t_messages

Maybe you are looking for

  • Thunderbolt to regular displayport

    I'm looking for a regular displayport to thunderbolt cable to connect my HP laptop to a new iMac 27" to extend the laptop display

  • Is CJC compensation automatically applied to Virtual Channels created with MAX?

    I have a SCXI 1000 chassis, a SCXI 1102 module and a TC 2095 terminal block. I am configuring virtual channels with the names TC(n) where n is the channel number. When I configure the virtual channel, I am selecting 'built-in' CJC. The question I hav

  • [ignore: solved]

    I've solved this one myself...I'm pretty new to SQL and didn't realise it had an UPPER() function...oops I have a JTable which is fed from a database. I would like to be able to navigate it via the alpha keys on the keyboard; i.e. if I type an N then

  • Changing boot drive at startup

    I have a loan of a PBG3, 300 MHz running System 9.2. I have a scsi adaptor for it. I have multiple scsi drives, both external and internal from (1) a IIsi and (2) a performa 6300 CD. I could not get the IIsi to boot. However, the drive was spinning u

  • DEP shuts down Reader X

    Every time I try to open Reader X, or try to open a pdf document with Reader X, the program is shut down by DEP (Data Execution Prevention). I'm running Windows Vista Home Premium SP 2, 32 bit. Does anyone have any idea how to fix this so I can use R