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 Hexidecimal IP addresses in text file into decimal format?

How to convert IP addresses in text file into Hexidecimal format?
How to change a hex text into decimal and apply a maths expression on it?
How to convert binary data in many text file to hexdecimal data?
Convert a text from binary to hex

Search all "Bin Hex Oct Dec converter" examples