Pattern#1: preg_match_all |<\s*h[1-2](?:.*)>(.*)</\s*h|Ui
- [0]=> array
- [0]=><h1>test</h
- [1]=><h1 >tes sdf es</h
- [2]=>< h1>test dsff </ h
- [3]=><h2>test</h
- [4]=><h1>test</h
- [5]=><h1>Battlegroundv d dddfdsfdsfdsfdfds h </h
- [6]=><h1>Battleground polls seem to give Obama upper hand over Romney</h
- [7]=><h1 class="fn">Dune buggy</h
- [1]=> array
- [0]=>test
- [1]=>tes sdf es
- [2]=>test dsff
- [3]=>test
- [4]=>test
- [5]=>Battlegroundv d dddfdsfdsfdsfdfds h
- [6]=>Battleground polls seem to give Obama upper hand over Romney
- [7]=>Dune buggy
Create a link to the results of this test.
Do you want to create a link to this result page?
Create Link
Links
- Bug report or any other suggestions:

- To learn, have a look to this tutorial
- More about the PCRE functions(in french. Anybody wants to translate?)
- Doc PHP Posix (ereg...)
- Doc PHP Pcre (preg...)