Which question will replace markup such as img=/smiley.png with
src=”/smiley.png”>?
A. print preg_replace(‘/img=(\w+)/’, ‘
’, $text);
B. print preg_replace(‘/img=(\S+)/’, ‘
’, $text);
C. print preg_replace(‘/img=(\s+)/’, ‘
’, $text);
D. print preg_replace(‘/img=(\w)+/’, ‘
’, $text);