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]
|