如何在简单文本中打印返回Jira API


How print the return Jira API in simple text

 [description] => {color:#595959}Eresh,{color} 
{color:#595959} {color} 
{color:#595959}Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s{color}  
{color:#595959} {color} 
{color:#595959}Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s{color} 
{color:#595959} {color}

返回jira api也有颜色。我想打印一个简单的描述

使用此正则表达式替换大括号之间的内容preg_replace ( "/{(.*?)}/" , " , $ 描述),