[ create a new paste ] login | about

Link: http://codepad.org/BM8ulFEy    [ raw code | fork ]

PHP, pasted on Jun 26:
1
2
3
4
5
<?php

$string = '{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil\fcharset0 Tahoma;}} \viewkind4\uc1\pard\lang1033\f0\fs17 ASSEMBLE COMPONENTS AS DETAILED ON DRAWING.\lang2057\fs17\par}';
echo preg_replace('#(\{.*\})|\}|(\\\\\S+)#', '', $string);
?>


Output:
No errors or program output.


Create a new paste based on this one


Comments: