Site logo

Archived topic

How to mark/color/highlight a specific text

1 reply · Started by Halil on December 15, 2021

Viewing posts 1–2 of 2

Hi,
Actually this has nothing to do with GP directly but I wanted to ask, because the support team created miracles for me.

I have tried many syxtax highlighter plugins and failed.

My question is how I can change the text color of a text if it starts with -let's say- underscore?

ie, in a blog post for example, I'd like change the text color to green for every words if it starts with underscore?

_turnthistexttogreen ?

is it possible?

Hi there,

this is the kinda question best asked StackOverflow or StackExchange, as it will require some pregMatch or Regex to find and replace those strings. Unfortunately not something i have the answers too.

This archived topic is closed to new replies.