edit hex regex