php replace a pattern
        Posted  
        
            by Hulk
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Hulk
        
        
        
        Published on 2010-04-20T07:22:50Z
        Indexed on 
            2010/04/20
            7:33 UTC
        
        
        Read the original article
        Hit count: 481
        
php
Suppose in a file there is a pattern as 
          sumthing.c: and
           asdfg.c:   and many more.. with *.c: pattern
How to replace this with the text yourinput and save the file using php
The pattern is  *.c
thanks..
© Stack Overflow or respective owner