VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   keyword hightlight half words (https://forums.vandyke.com/showthread.php?t=13420)

Neisany 02-24-2019 09:35 PM

keyword hightlight half words
 
Hi all, the output that I get for time and date on my alarms are:
2019-02-23T22:30:58-0

What I would like to do is have the keyword highlight:
22:30:58

or
T22:30:58

Any help would be great.

bgagnon 02-25-2019 10:25 AM

Hi Neisany,

Sorry, presently the support is for a complete word (in this case, that would be the text between the delimiters) so the best you could do would be to highlight/colorize 23T22:30:58.

I have created a feature request on your behalf in our product enhancement database for the ability to color/highlight only a partial match (submatch) of regular expression. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include "Feature Request - Forum Thread #13420" in the subject line or use this form from the support page of our website.

Neisany 02-25-2019 03:02 PM

Thank you
 
Could you please assist with the expression? That would be a good start Thank you for all of your help in advanced

bgagnon 02-25-2019 03:15 PM

Hi Neisany,

Sorry, I assumed you had that but were trying to get it refined to color/highlight only the part you wanted. :)

\d{2}T\d{2}\:\d{2}\:\d{2}

Neisany 03-02-2019 09:05 PM

Thanks
 
Thanks for all of your help it will work for now.


All times are GMT -6. The time now is 11:12 PM.