I want print only title name $x = '...text [title]the name[endtitle]...continue text...' How i can ? Example results: the name