what would be the regular expression for null byte present in a string

Shambhu Rajak Shambhu.Rajak at sandisk.com
Tue Jan 13 14:40:52 CET 2015

I have a string that I get as an output of a command as:

I want to fetch '10232ae8944a' from the above string.

I want to find a re pattern that could replace all the \x01..\x0z to be replace by empty string '',  so that I can get the desired portion of string

Can anyone help me with a working regex for it.



PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150113/c51c8dcd/attachment.html>

More information about the Python-list mailing list