Skip to content
Advertisement

Remove part of string after ## using php? [closed]

I have a file which has many lines containing ##. I want to remove the part of string after ##.

Here is what I have tried

JavaScript

testr.txt look like this

JavaScript

The output should be like this

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement