Can I us find/replace for MULTIPLE lines in Frontpage 2002?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can I search for special characters in Frontpage 2002, such as ^p for
paragraph return in order to find and replace multiple lines of code?
 
No. Also a paragraph return in HTML is with a open <p> and a ending </p>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
You could do it if you went into code view and searched first for <p> and
then for </p>. The "replace tag" feature might also do it.

Wally S
 
Thanks Thomas. What about newer versions of Frontpage? Can multiple lines be
changed in FP 2003?
 
Yes, but be aware that the <p> tag can be combined with other attributes, so trying to do a global S
& R may now work in all cases, so you may still have to review each individual page.

The same would reply to doing a multi-line S & R that the line breaks, etc. must be the same on all
pages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Use the special search by Html tags on the Html Tags tab in Edit Find (searching for the <p> tag)
- either with a Html rule or Replace action

--




| Can I search for special characters in Frontpage 2002, such as ^p for
| paragraph return in order to find and replace multiple lines of code?
 
For multi-line find and replace, you could also use a tool like our
product Web Search and Replace. It can also handle optional whitespace,
so you could either paste in the multiple lines of text you want to
find, or you could use an EasyPattern such as

[ 0+ whitespace ]my line 1
[ 0+ whitespace ]my line 2
[ 0+ whitespace ]my line 3
[ 0+ whitespace ]my line 4

and this will cope with FrontPage's indentation.

For more, see http://www.searchandreplace.net
 
Anytime you use a 3rd party application that modify files within a FP web / site, you end up with FP
not being aware that changes have been made to the web / site content.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
I have found that to be true in the past, and have had to do a full publish
of the site.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
How to ask a newsgroup question:
http://support.microsoft.com/kb/555375
===
| Anytime you use a 3rd party application that modify files within a FP web
/ site, you end up with FP
| not being aware that changes have been made to the web / site content.
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| ==============================================
| If you feel your current issue is a results of installing
| a Service Pack or security update, please contact
| Microsoft Product Support Services:
| http://support.microsoft.com
| If the problem can be shown to have been caused by a
| security update, then there is usually no charge for the call.
| ==============================================
|
| | > For multi-line find and replace, you could also use a tool like our
| > product Web Search and Replace. It can also handle optional whitespace,
| > so you could either paste in the multiple lines of text you want to
| > find, or you could use an EasyPattern such as
| >
| > [ 0+ whitespace ]my line 1
| > [ 0+ whitespace ]my line 2
| > [ 0+ whitespace ]my line 3
| > [ 0+ whitespace ]my line 4
| >
| > and this will cope with FrontPage's indentation.
| >
| > For more, see http://www.searchandreplace.net
| >
|
|
 
Back
Top