| |
|
08.02.2012, 18:49
|
#1
|
|
-
|
, . :
;
;
2;r37goifh3c
.
1. " ;"
r37goifh3c
2. , 4
3. , 8
4. ,
, 
__________________
!
|
|
|
08.02.2012, 18:53
|
#2
|
|
-
|
,
3 
__________________
!
|
|
|
08.02.2012, 19:02
|
#3
|
|
Senior Member
|
PHP :
<? $fp=fopen("big.txt",'r'); $fp2=fopen("big2.txt",'w'); while(!feof($fp)) { $str=fgets($fp); $str=str_replace("\r","",$str); $str=str_replace("\n","",$str); $str=preg_replace("!;(.*?)$!si",'',$str); if ((strlen($str)>=4)&&(strlen($str)<=8)) if (!(preg_match("![-]!si",$str))) fputs($fp2,$str."\n"); } fclose($fp); fclose($fp2); ?>
big.txt txt , big2.txt
|
|
|
08.02.2012, 19:07
|
#4
|
|
Senior Member
|
, ?
:
PHP :
<? $fp=fopen("big.txt",'r'); $fp2=fopen("big2.txt",'w'); while(!feof($fp)) { $str=fgets($fp); $str=str_replace("\r","",$str); $str=str_replace("\n","",$str); $str=preg_replace("!^(.*?);!siU",'',$str); if ((strlen($str)>=4)&&(strlen($str)<=8)) if (!(preg_match("![-]!si",$str))) fputs($fp2,$str."\n"); } fclose($fp); fclose($fp2); ?>
|
|
|
08.02.2012, 19:09
|
#5
|
|
2000000
|
2 3 : ()
, - ( )
, ,
__________________
|
|
|
08.02.2012, 19:12
|
#6
|
|
-
|
Drg, ! !
Ower, , !
__________________
!
|
|
|
09.02.2012, 06:30
|
#7
|
|
:)
|
TextPipe .
__________________
|
|
|
|
|
|