Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regex for whitespace kinda

Status
Not open for further replies.

arcnon

Programmer
Joined
Aug 12, 2003
Messages
242
Location
US
I have a characacter in a file that reads CA in a hex editor.

what is the easiest way to replace it. I am using the normal
open(F, "test.txt")
 
figured it out.

=~s/\xca//g;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top