Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- random
- docker
- JavaScript
- php
- RabbitMQ
- 부모창
- jQuery
- replace
- Selectbox
- ubuntu
- yum
- install
- smarty
- SVN
- 일괄변경
- Oracle
- 확장자
- 천단위
- i18n
- TextBox
- 한글 깨짐
- Eclipse
- Postfix
- TPL
- MySQL
- centos
- Python
- 문자열자르기
- mariadb
Archives
- Today
- Total
목록replace (1)
wilson's story
html 변환해주기
$search = array ("']*?>.*?'si", "''si", "'([\r\n])[\s]+'", "'&(quot|#34);'i", "'&(amp|#38);'i", "'&(lt|#60);'i", "'&(gt|#62);'i", "'&(nbsp|#160);'i", "'&(iexcl|#161);'i", "'&(cent|#162);'i", "'&(pound|#163);'i", "'&(copy|#169);'i", "'&#(\d+);'e"); $replace = array ("", "", "\\1", "\"", "&", "", " ", chr(161), chr(162), chr(163), chr(169), "chr(\\1)"); $text = preg_replace($search, $replace, $con..
PHP
2008. 4. 7. 14:20