codepad
[
create a new paste
]
login
|
about
Link:
http://codepad.org/cNvpQOSg
[
raw code
|
output
|
fork
]
PHP
,
pasted on Aug 30:
1
2
3
<?php
echo
preg_replace
(
'/\[.*?\]/'
,
''
,
"blah blah [unwanted text] blah"
);
Output:
1
blah blah blah
Create a new paste based on this one
Comments: