Login
Remember
Register
PHPOnlineSupport
Questions
Unanswered
Tags
Categories
Ask a Question
Ask a Question
preg_replace non sensitive
0
votes
3.3k
views
asked
Jul 16, 2018
in
General
by
John
<?php
$find ="/$this_exp/"; $replace_this ="<b>$word</b>";
echo preg_replace ($find, $replace_this, $output);
?>
preg_replace
replace
case-sensitive
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
1
Answer
0
votes
answered
Jul 16, 2018
by
anonymous
$find ="/$this_exp/i"; //note the i for insensitive
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
+2
votes
2
answers
9.2k
views
Replace all last occurrence of characters of string
asked
Jun 3, 2016
in
General
by
Neethu
string
replace
php
0
votes
1
answer
1.6k
views
Why no site links listed on google search?
asked
Dec 13, 2019
in
General
by
Justin
google
site-links
0
votes
1
answer
1.6k
views
Adblocker blocking WP blog images
asked
Nov 15, 2019
in
General
by
David
adblocker
wp
wordpress
0
votes
1
answer
1.6k
views
Scan QR code using a samsung phone
asked
Nov 14, 2019
in
General
by
Sajal
samsung
qr-code
barcode
0
votes
1
answer
1.5k
views
View hidden folders Mac
asked
Nov 10, 2019
in
General
by
Juno
mac
0
votes
1
answer
1.7k
views
Notification popups that can allow intractions on page
asked
Oct 28, 2019
in
General
by
mithun
(
740
points)
notification
popup
All categories
General
(38)
CMS
(21)
Frameworks
(20)
eCommerce
(58)
IOT - Internet Of Things
(4)
Javascript
(6)
Databases
(1)
Categories
All categories
General
(38)
CMS
(21)
Frameworks
(20)
eCommerce
(58)
IOT - Internet Of Things
(4)
Javascript
(6)
Databases
(1)
Most popular tags
magento
wordpress
php
wp
category
module
product
laravel
kohana
admin
url
cache
jquery
database
configurable
serial1
serial
encrypt
phalcon
truncate
fishpig
js
include
javascript
cms
backend
email
plugin
post
arduino
seo
security
migrate
editor
decrypt
python
iot
map
json
shipping
password
core
log
mage
pear
string
replace
extension
import
php7
error
function
form
order
google
image
youtube
customer
site-links
adblocker
qr-code
barcode
samsung
mac
popup
newsletter
feed
auto-numbering-column
datatable
admin-bar
adminbar
toolbar
mongodb
address16
address64
xbee
301
302
parents
execution-time
calculate
case-sensitive
contains
interface-class
abstract-class
ternary
ajax
cancel
oracle12c
xampp
isset
submit
extract
matrix
uno
mega
coupon
print_r
programatically
member
...