Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-24-2019, 10:35 PM
Neisany Neisany is offline
Registered User
 
Join Date: Feb 2019
Posts: 11
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.
Reply With Quote
  #2  
Old 02-25-2019, 11:25 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,046
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.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 02-25-2019, 04:02 PM
Neisany Neisany is offline
Registered User
 
Join Date: Feb 2019
Posts: 11
Thank you

Could you please assist with the expression? That would be a good start Thank you for all of your help in advanced
Reply With Quote
  #4  
Old 02-25-2019, 04:15 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,046
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}
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #5  
Old 03-02-2019, 10:05 PM
Neisany Neisany is offline
Registered User
 
Join Date: Feb 2019
Posts: 11
Thanks

Thanks for all of your help it will work for now.
Reply With Quote
Reply

Tags
half highlighting , highlighting , keyword


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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