java variable name from underline to camel case
skip strings and annotations auto copy
by mskf_
HTML
<textarea></textarea>
CSS
textarea{
width:500px;
height:500px;
}
JavaScript
$('textarea').on('input',function(){
var val = $('textarea').val()
val = val.replace(/[a-z0-9]_\w(?!\w*")/g,function(o){
return o.charAt(0)+o.charAt(2).toUpperCase()
})
$('textarea').val(val)[0].select()
document.execCommand('copy')
})