Home
PHP
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
mb_eregi_replace
mb_eregi_replace
Multibyte-supported replacement regular expressions, ignoring upper and lower case
Name:
mb_eregi_replace
Category:
Multi-byte string
Programming Language:
php
One-line Description:
Multibyte-supported replacement regular expressions, ignoring upper and lower case
Related
XSS processing before replacing with htmlspecialchars()
7
Combined with mb_internal_encoding() to set character encoding to avoid garbled code
6
The replacement result is misunderstood as an array (actually a string)
8
In PHP 7.3+, it is mistakenly thought that mb_eregi_replace has been deprecated
10
Case problem in regular mode does not realize that mb_eregi_replace is case-insensitive
5
Replacement content with PHP variables without double quotes or curly braces
1
Invalid replacement due to not using correct regular syntax in pattern
8
Forgot to set the appropriate internal character encoding to cause garbled code
7
Replace the domain name part in the email address
6
Use mb_eregi_replace to replace the line break as <br>
3
Use regular expressions to clear special characters in user input
1
Replace all numbers in a string as specific characters (such as "*")
1
«
1
2
3
»
Similar Functions
mb_check_encoding
mb_check_encoding
Checkwhetherthestrin
mb_decode_numericentity
mb_decode_numericentity
Decodeintocharacters
mb_ereg_search_pos
mb_ereg_search_pos
Returnsthepositionan
mb_stripos
mb_stripos
Caseinsensitivelyfin
mb_strtoupper
mb_strtoupper
Setthestringtoupperc
mb_encode_mimeheader
mb_encode_mimeheader
EncodestringsforMIME
mb_strrchr
mb_strrchr
Findthelastoccurrenc
mb_decode_mimeheader
mb_decode_mimeheader
DecodestringsinMIMEh
Popular Articles
Replace the domain name part in the email address
Combined with mb_internal_encoding() to set character encoding to avoid garbled code
Use mb_convert_encoding() before replacing to ensure uniform encoding
Build a custom BBCode converter
Replacement content with PHP variables without double quotes or curly braces
Use preg_replace() instead of mb_eregi_replace to achieve more complex Unicode matching
After replacing the content, use strpos() to check whether it is effective
After replacement, cooperate with json_encode() to maintain data transmission security