2017-12-14, 04:58 PM
So, I have mycode working for greentext
>it does this, makes it green if you start a sentence with >
It's like this:
Regex: (\n|^)>(.*?)(\n|$)\
Replacement: $1<span style="color: #27ae60;">>$2</span>$3
I'd like to implement one more called orangetext. If you END your sentence with < it makes it orange
Like this<
Can anyone help me with the code? I tried but made a mess.
>it does this, makes it green if you start a sentence with >
It's like this:
Regex: (\n|^)>(.*?)(\n|$)\
Replacement: $1<span style="color: #27ae60;">>$2</span>$3
I'd like to implement one more called orangetext. If you END your sentence with < it makes it orange
Like this<
Can anyone help me with the code? I tried but made a mess.