fork download
  1. <?php
  2.  
  3. $yourinput = "blah
  4. # [[[@-100] Start of custom routes
  5.  
  6. text content here I cant be sure what it is
  7.  
  8. # End of custom routes [@-100]]]
  9. more stuff";
  10. $replaced = preg_replace('~(?s)# \[\[\[@-100\] Start of custom routes.*?# End of custom routes \[@-100\]\]\]~',
  11. '', $yourinput);
  12. echo $replaced;
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
blah

more stuff