04-07-2008, 03:53 AM
|
#14 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by delayedinsanity
Are you looping through it all line by line? If it's looking for it at the start of the line, try /^\s*(restofpattern)/ ... the ^ is the start of the string, \s is whitespace, and * is for 0 or more.
-m
|
err say that I have a one line code
PHP Code:
$string = "Hello World!";
for the pattern replacement, and I give this code to replace
PHP Code:
$string =
"Hello World";
It then turns to black characters, how can I fix this?
__________________
VillageIdiot can have my babbies ;d
|
|
|
|