php -r 'echo preg_replace("#(?<!\*)\*(([a-zA-Z\s\.]|\*\*+)+)\*(?!\*)#i", "<em>$1</em>", "*italic text **with bold** *"), "\n";'