i want to capture only the first match through the expression

```
<p>.*?</p>

```

i have tried `<p>.*?</p>{1}` but it is not working it returns all the p tags which are in the html document, please help