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_internal_encoding
mb_internal_encoding
Set/getinternalchara
mb_language
mb_language
Set/getthecurrentlan
mb_strrchr
mb_strrchr
Findthelastoccurrenc
mb_encoding_aliases
mb_encoding_aliases
Getanaliasforaknowne
mb_list_encodings
mb_list_encodings
Returnsallsupportede
mb_convert_case
mb_convert_case
Convertastringcase
mb_decode_mimeheader
mb_decode_mimeheader
DecodestringsinMIMEh
mb_strlen
mb_strlen
Getthestringlength
Popular Articles
Combined with mb_internal_encoding() to set character encoding to avoid garbled code
Use preg_replace() instead of mb_eregi_replace to achieve more complex Unicode matching
Use mb_eregi_replace to quickly process SQL script content exported by databases
Replace the field name in JSON data
Use regular expressions to clear special characters in user input
Use mb_eregi_replace to highlight text (with <mark> tag)
Use mb_eregi_replace to replace the line break as <br>
Invalid replacement due to not using correct regular syntax in pattern