.* means "go as far as you can using any character" so of course that matches the whole string (and \S matches the last non space character). If you only want non space chars after 0x you can use: 0x\S* instead .
In reply to Re: search and replace desired portion from a line
by Eily
in thread search and replace desired portion from a line
by syedasadali95
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |