# Displaying Search result occurences in a text element content

**URL:** <https://forum.bubble.io/t/displaying-search-result-occurences-in-a-text-element-content/129358>\
**Category:** Need help\
**Created:** [January 7, 2021, 11:59am UTC](https://forum.bubble.io/t/displaying-search-result-occurences-in-a-text-element-content/129358 "2021-01-07T11:59:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmaison](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gmaison/32/143155_2.png) [@gmaison](https://forum.bubble.io/u/gmaison)\
**Post date:** [January 7, 2021, 11:59am UTC](https://forum.bubble.io/t/displaying-search-result-occurences-in-a-text-element-content/129358/1 "2021-01-07T11:59:28Z")

</div>

Hi,

i would like to display a text element (containing several lines) with the following functionnality :  
i’d like to highlight all the occurences of an expression in the text as do any search tool within a text editor.

I was planing to use some regexp remplace and inserting bbcode in remplacement before displaying.

Any other idea ?

Thanks for your help

Best regards,

Guillaume

---

<div class="post-metadata">

**Author:** ![joseph.farinhas](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@joseph.farinhas](https://forum.bubble.io/u/joseph.farinhas)\
**Post date:** [January 7, 2021, 5:23pm UTC](https://forum.bubble.io/t/displaying-search-result-occurences-in-a-text-element-content/129358/2 "2021-01-07T17:23:10Z")

</div>

Hey @gmaison

I am very interested in this also. A quick search online found these two plugins.

[Word Highlighter](https://bubble.io/plugin/word-highlighter-1603903094381x787506970473267200)  
[Highlight Text](https://bubble.io/plugin/highlight-text-1569067729186x167072794867662850)

Im not sure if its possible without any custom coding but I am commenting to A) show you these plugins incase you havent seen them & B) follow this. lol. 👍

EDIT: I have not tried any of these two plugins. Havent really had the need but it does sound interesting to add to search fields

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 18, 2021, 11:59am UTC](https://forum.bubble.io/t/displaying-search-result-occurences-in-a-text-element-content/129358/3 "2021-03-18T11:59:29Z")

</div>

Closed on March 18, 2021, 11:59am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
