I was tempted to name this tool "Nah!" for "Not A Hex-editor!" but eventually I added editing features so I decided for Binmap. It mainly assists in analysing and documenting binary data files.
SHOW
Tag Archives: Code
Hi-Octane (1995) Level Inspector and Editor
YouTube Video ID from YouTube link, AS3
This function returns the YouTube ID if the input was any form of valid YouTube link or the ID itself:
private function extractID(input:String):String { if (input.length == 11) return input; var reg:RegExp = /http:\/\/(?:youtu\.be\/|(?:[a-z]{2,3}\.)?youtube\.com\/watch(?:\?|#\!)v=)([\w_-]{11}).*/gi; var res:Object = reg.exec(input); if (res != null) return res[1]; return ""; }