asm MOV AX,1234H MOV Number,AX end;
I've got the text above. Is there a regex that would return only the code between asm and end;?
preg_match('/asm(.*?)end;/is', $asm, $matches); echo trim($matches[1]);
Thanks very much...