VanDyke Software Forums

VanDyke Software Forums (
-   General (
-   -   Different color per ip address class? (

dmaker 01-09-2020 01:54 PM

Different color per ip address class?
Hi, I'm using 8.7 beta (today's release) on Windows 10 and would love to use keyword highlighting so that I can have a different color for ClassA, B, and C address ranges.

Is that possible? I've spent a fair bit of time trying to google and find examples/answers, but not really getting anywhere.

Thank you!

dmaker 01-09-2020 02:27 PM

Actually, what I would like may be slightly easier.

I would like to be able to do something like this:

10.*.*.* = color1
X.Y.*.* = color2
172.16.*.*= color3

bgagnon 01-09-2020 02:38 PM

Hi dmaker,

What are you having the difficulty with?

Developing the regular expressions to flag the data?

10.*.*.* = color1
X.Y.*.* = color2
172.16.*.*= color3
Are the *s only ever digits in all cases?

Please provide some examples of what the actual data might look like.

dmaker 01-09-2020 04:48 PM

Hi, what I would like to do is have any ip address that starts with 10. be one color, and address that starts with 172.16 anything be another color, and our public address space be another color. We have a /16 so X.Y. anything be another color.

I just really have no idea how to do this.

I assume it's possible?


bgagnon 01-10-2020 07:13 AM

Hi dmaker,

You should watch the YouTube video on keyword highlighting.

The specific regular expressions to add to your keyword list that should work for your scenario is:


dmaker 01-10-2020 08:56 AM

Hi, thank you for the response. I will check out that video when I have a moment.

I added your suggestions and it worked fine. It took me two tries to realize I needed to set them to regex :)

Thank you!

EDIT: on a related note, is there a way to make text blink?

All times are GMT -6. The time now is 12:35 AM.