I want to capture prompt of a remote device. -regexp {[\$\#]\s*$} { # capture the prompt } "[\$#]\s*$" does not work for prompt with color codes.
Working on a client's server where there are two different versions of nginx installed. I think one of them was installed with the brew package manager (its an