I want to make a PHP function that would make text bold between 1 asterisk, then regular text otherwise.
Example:
Welcome to my store *This is my house* It is located in
Who can help me out? I tried to do this, but not being successful.
if(preg_match("/[a-zA-Z0-9_]* *\(*\*[a-zA-Z0-9_]*\*\)* *[a-zA-Z0-9_]*/
", $text, $temp))
{
$newText = " " . $text . " ";
$split = spliti("\\*", $newText);