I use `preg_replace` in PHP to remove text before a substring as

```
unnecessary stuff
unnecessary stuff
DELETE ME and some more stuff
This line should be the beginning
the rest.

```

with 

```
/^.{0,1000}DELETE ME/is

```

How can I delete the entire line of `DELETE ME` too?

I use `.{0,1000}` to limit the deletion.