<html> <head> <title>Expression régulière</title> </head> <body> <?php $texte = "Test: <strong>Bienvenu sur mon site</strong><p>à ignorer</p>"; ereg('<strong>(([^<"]|[^<]*<[^/][^<])*("[^"]*"([^<"]|[^<]*<[^/][^<])*)*)?</strong>', $texte, $matches); echo "Résultat<br/>: " . $matches[1]; ?> </body> </html>