multi-line search and replace

D

Drew Henderosn

I need to search and replace several lines of html text
with new multi-line html text through and entire web.

The Front page search & replace function seems to be
written for "one liners" only. Is there a method of coding
a multi-line search and replace using the Frontpage "search
and replace" tool. When I say coding I mean formating the
CR chararters in multi-line html text.
 
T

Thomas A. Rowe

Correct, not possible in versions below FP2003.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
J

Jim Buyens

-----Original Message-----
I need to search and replace several lines of html text
with new multi-line html text through and entire web.

The Front page search & replace function seems to be
written for "one liners" only. Is there a method of
coding a multi-line search and replace using the
Frontpage "search and replace" tool. When I say coding I
mean formating theCR chararters in multi-line html text.

You need FP2003 for this.

In FP2003, you can search for regular expressions such as
<body>[\s\n]+</body> where

\s means any white space character
\n means a new line character
[\s\n] means either a white space or new line character
[\s\n]+ means one or more white space or new line
characters.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top