Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
preg_replace('/[^a-z0-9]+/i','',$str);
jiue123
Sep 29th, 2014
200
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
preg_replace
(
'/[^a-z0-9]+/i'
,
''
,
$str
)
;
-->
h
àm này l loại bỏ tất cả các ký tự không phải là chữ
(
a
-
z và A
-
Z
)
hoặc số
(
0
-
9
)
ra khỏi chuỗi
$str
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Python | 10 hours ago | 8.34 KB
2026_09_updated_sep__TEMP
14 hours ago | 1.50 KB
Asking IM About Client's PR Team
18 hours ago | 0.85 KB
CCA
18 hours ago | 0.01 KB
Explaining Why We Don't Use Client Email...
19 hours ago | 0.62 KB
Untitled
1 day ago | 2.53 KB
[TLF - A KING'S MEMORY]
1 day ago | 1.62 KB
ccounter.cpp
C++ | 1 day ago | 3.61 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!