Regular expressions

From Electron Cloud

Jump to: navigation, search

To convert a hex string like FF651234 to C array initialization like 0xFF, 0x65, 0x12, 0x34 using find and replace in Scite:

Find what: \([A-F0-9][A-F0-9]\)
Replace with: 0x\1,_
Personal tools