stripANSI with regex (wodSSH / wodSSH.NET)
I need to use the stripANSI to get my program to work properly but now my screen is missing any formatting. Is there a way to perform the same function in a Visual Basic subroutine that would allow me to check for certain positioning sequences and replace with spaces. This would be great as then I would be able to format what gets diplayed in a descent format.
I am using the COM object in blocking mode. When I use the ActiveX object everything looks great.
Re: stripANSI with regex
Eric,
Maybe VB6 Replace Function will help you.
Here is example:
[code]
Dim a As String
a = this is@@@@test message
Debug.Print Replace(a, @@@@ , )[/code]
Hope this helps.
Drazen
Re: stripANSI with regex
Yes this helps.
Regards,
Eric