I'm fairly new/rusty with regular expressions. I'm collecting a block of text from a textarea element and I want to check to see if the person who filled it used any paragraphs, amongst other things.

I'm using the following and I know it's wrong.

```
preg_match('/\r\n|\n|\r/', $_GET['text']);

```