Reply to how to write a regular expression?

Your name:

Reply:


Posted by _andrea on 07/14/05 18:42

I'd like to write a regular expression which match all text between two
<h1>.

I mean:

------------ for: ----------------------
<h1>bla bla [...] \t \r bla \n<h1>
------------- is: -----------------------
bla bla [...] \t \r bla \n


--------------- for: -------------------------
<h1><a name="_Toc104895953"></a><a name="_Toc94324108"></a><a
name="_Toc94268497"></a><a name="_Toc94265711"></a><a
name="_Toc94264823"><span
style='mso-bookmark:_Toc94265711'><span
style='mso-bookmark:_Toc94268497'><span
style='mso-bookmark:_Toc94324108'><span
style='mso-bookmark:_Toc104895953'>2. L'ATTIVITA'
CONTRATTUALE DELLA P.A.</span></span></span></span></a></h1>
bla bla...
[...]
text
<h1>
bla bla...
---------------------------- is: -----------------------------------
<a name="_Toc104895953"></a><a name="_Toc94324108"></a><a
name="_Toc94268497"></a><a name="_Toc94265711"></a><a
name="_Toc94264823"><span
style='mso-bookmark:_Toc94265711'><span
style='mso-bookmark:_Toc94268497'><span
style='mso-bookmark:_Toc94324108'><span
style='mso-bookmark:_Toc104895953'>2. L'ATTIVITA'
CONTRATTUALE DELLA P.A.</span></span></span></span></a></h1>
bla bla...
[...]
text



How to write it?
Thank you in advance,
andrea.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация