Bin Hex Oct Dec Conversion

Character_encoding  Text_generator 

Bin/Hex/Oct/Dec Conversion

Example:

Convert a text from binary to hex.

Bin Hex Oct Dec converter

Replace settings:

1) Replace Unit=Word

2) Search for pattern=.*

3) Replace with pattern=calc(oct('0b'.$match),'x')

4) If=$match=~/^[01]+$/

Other conversions:

2->8: calc(oct('0b'.$match),'o')

2->10: calc(oct('0b'.$match),'d')

2->16: calc(oct('0b'.$match),'x')

8->2: calc(oct('0'.$match),'b')

8->10: calc(oct('0'.$match),'d')

8->16: calc(oct('0'.$match),'x')

10->2: calc($match,'b')

10->8: calc($match,'o')

10->16:calc($match,'x')

16->2: calc(oct('0x'.$match),'b')

16->8: calc(oct('0x'.$match),'o')

16->10:calc(oct('0x'.$match),'d')

Notes:

For batch replace files, please refer to Replace Pioneer help manual.


Other Examples of "Bin Hex Oct Dec converter"
How to convert list of hexadecimal  to binary ?
How to add a fixed number on all hexadecimal bytes?
How to convert the text from hex format to ascii format?
How to convert asp code to corresponding hex bytes separated by comma?
How to translate the hex number to decimal number inside a text file?
How to convert the decimal IP address into binary format with 0 and 1?
How to convert Hexidecimal IP addresses in text file into decimal format?
How to convert IP addresses in text file into Hexidecimal format?

Search all "Bin Hex Oct Dec converter" examples