<?php

echo preg_replace('#\*(\p{L}+)\*#', '<em>$1</em>', 'This text has *two* *italic* bits');