Skip to content

Xshell Highlight Sets 'link' Online

Select your tailored set (e.g., use a database-specific highlight set for your MySQL instances, and a web-specific set for Nginx servers).

For example, you can use them to:

Click OK to save. To apply it to your current session, go to View > Highlight Set and select your newly created set. Harnessing Regular Expressions (Regex) for Dynamic Matches

Adapted from the CSDN blog by zte1055889498 xshell highlight sets

This ensures WARNING is highlighted only as a whole word, not inside UNWARNING .

: All your custom highlight sets are stored as files with the .hls extension. The default location for these files is in your user profile folder: C:\Users\<YourUserName>\AppData\Roaming\NetSarang\7\Xshell\HighlightSet Files\ (Note: The 7 in the path represents the major version of Xshell, such as version 7 or 8. You may need to adjust it accordingly).

This pattern highlights web addresses in terminal output, making links easily clickable and recognizable. Select your tailored set (e

Type the exact string you want to catch (e.g., ERROR ).

Check this box if you only want to highlight specific cases (e.g., error vs ERROR ).

area, choose your highlight style, such as bold text or specific terminal colors. netsarang.atlassian.net Applying the Highlight Set You may need to adjust it accordingly)

Technical Report: Xshell Highlight Sets Xshell’s allow users to emphasize specific strings in the terminal by automatically changing their color or font styles. This feature functions as a "trigger" that tracks strings in real-time as they appear in the terminal output, making it easier to identify critical information like error messages, IP addresses, or specific user accounts. Core Functionality

Do you need help writing a to match a complex text pattern in your terminal?