Find and Replace invisible characters

1,027 views
Skip to first unread message

doctorvandermast

unread,
Sep 5, 2009, 11:22:37 PM9/5/09
to BBEdit Talk
I want to find and replace null characters in a text file with
carriage returns. Can BBEdit or TextWrangler do this?

Bill Rowe

unread,
Sep 6, 2009, 4:40:19 PM9/6/09
to bbe...@googlegroups.com
On 9/5/09 at 8:22 PM, mpo...@lisco.com (doctorvandermast) wrote:

>I want to find and replace null characters in a text file with
>carriage returns. Can BBEdit or TextWrangler do this?

BBEdit can do this. In the find dialog, make sure the Grep box
is checked. Use \x00 as the search pattern and \r as the replace pattern.

Dennis

unread,
Sep 6, 2009, 5:02:37 PM9/6/09
to bbe...@googlegroups.com

You could also do it with the Text -> Zap Gremlins command, although
Bill's suggestion is certainly more flexible.

-Dennis

Reply all
Reply to author
Forward
0 new messages