Find and replace - regular expression to help?

How can I find ' <!-* PAGE footer AREA *-> "and replace it and evething after with my new coding of footer on all my pages.

The problem is:

The code in my existing page footer area is not the same on all pages.

I want to replace it with a new one on all pages

I watch the operators of regular expressions, not found patern that works...

Thanks in advence for your help

The following regular expression is the and everything up, but not including the closing tag:

[\s\S]+(?=<\/body>)

Use it in the search field and put the comment and the code to the footer in the field replace. Select use regular expression.

Always make a backup before using a regular expression on many pages.

Tags: Dreamweaver

Similar Questions

  • Find and replace the necessary assistance to the removal of several Word Bookmarks

    I am importing a Word document sections. Word documents have favorites such as:

    < h3 > < a name = "_Toc226886762" id = "_Toc226886762" > fixed-variable < /a > < / h3 >

    I would like to do at the level of the site search and replace, delete all bookmarks (they all start with table of contents) but keeping the title and the text format. I tried several options, but nothing works.

    Thank you.

    I just copied and pasted the code in an HTML document, and ran the search and replace regular expressions. He removed all four bookmarks without problem.

    I see that you say you copied and pasted my regex in the search field. I just do the same thing and see that when you use copy / paste, the cursor in the search field ends up on a new line. Press BACKSPACE to get rid of the new line. It should then work.

  • Need help to find and replace multiple query

    Hello

    Is it possible to run multiple searches and replace queries both in Dreamweaver 8?

    Currently I have:

    Find: current Document
    Search: Source Code
    Find: ToR
    Title: < acronym 'Mandate' = > ToR < / acronym >
    Options: Match case and find whole words

    I have search and replace about 12 acronyms on each page, and I was wondering if I can create a search and replace the query that includes all my acronyms or do I have to manually run these 12 single queries every time?

    Thanks for the help!

    I'm afraid that is both

    --
    Paul Whitham
    Certified Professional Dreamweaver MX2004
    Adobe Community Expert - Dreamweaver

    Valleybiz Web design
    www.valleybiz.NET

    "Acadieman" wrote in message
    News:eci6a5$JDL$1@forums. Macromedia.com...
    > Hi,.
    >
    > Is it possible to run multiple searches and replace queries both in
    > Dreamweaver 8?
    >
    > Currently I have:
    >
    > Search in: current Document
    > Search for: Source Code
    > Find: ToR
    > Replace: ToR
    > Options: match case and find whole words
    >
    > I find and replace about 12 acronyms on each page and I was
    > I was wondering if I can create a search and replace the query that would include
    > all my
    > acronyms or I have to manually run these 12 single queries every time?
    >
    > Thanks for the help!
    >

  • Need help to find and replace

    Hi all

    I need assistance to find and replace words between \ make "BOLD" and delete the symbol in my pages just like below.

    Text example:

    He astonished his parents by \turning a childhood obsession\ in a decent-paying career, much to their dismay.

    After the text:
    He astonished his parents by turning a childhood obsession into a decent-paying career, much to their dismay.

    Thanks in advance,

    Siva

    (\\+?) will never return more than 1 backslash because the? is telling to find the shortest match. {I would change that to each (\) or (\\{2)}

  • Help to find and replace. Please

    I imported a text where there are in italic content original, but when put in IDCS4 italic text appears as _italic words_. It is under the Roman name with _ of the characters who surround him. Is it possible to find and replace. Needless to say that the text between the _s varies.

    I would like to try a find/change GREP searching (_) ([^ _] +) (_) and replace them with $2 all change to italic formatting (preferably in a character style).  This translates to seek a _, then everything that is not a _, followed of another _ and replace it with the content between the two. You can also use (_) (. +?) (_) that match the srting more runs between two characters _ in the same way (except it does not cross a paragraph break), but it will run a little slower.

    Credit for this should go to Peter Kahrel and his excellent introduction GREP...

  • Find and replace text

    Hello

    I need to find and replace the string below. can someone please help.

    I have a 9E20300349013 string

    If the second character is E or G, then I need strip of the first two charecters like 20300349013.  I tried like, but is there a better way to do this in a single sql statement.

    IF REGEXP_SUBSTR ('9E20300349013', ' [A - Z] +', 2, 1) = 'E' OR
    REGEXP_SUBSTR ('9E20300349013', ' [A - Z] +', 2, 1) = 'G' THEN
    --
    VAR_PCN_SCRUBBED: = REGEXP_SUBSTR ('9E20300349013', ' [0-9] +', 1, 2);
    --
    END IF;

    IF SUBSTR ('9E20300349013', 2, 1) = 'E' OR
    SUBSTR ('9E20300349013', 2, 1) = 'G' THEN
    --
    VAR_PCN_SCRUBBED: = SUBSTR('9E20300349013',3);
    --
    END IF;

    Hello

    As Nick suggested, you can use only 1 operation instead of 2 = operations.

    Instead of IF, you can use CASES.

    Using regular expressions, you can also search for 'E' or 'G' at the same time, like this:

    var_pcn_scrubbed: = REGEXP_REPLACE ('9E20300349013'

    , '^. [EG] (.*)'

    , '\1'

    );

  • Find and replace support, several variables

    Hello world

    Im trying to find all of the URLS in my code that starts in a particular way, but have a number at the end, see the examples below

    < a href="/example/examplefolder/enquiry.asp?pid=123" >

    < a href="/example/examplefolder/enquiry.asp?pid=485" >

    < a href="/example/examplefolder/enquiry.asp?pid=284" >

    and replace them with a url, see the example below

    "< a href="/example/examplefolder/default.asp ">

    How can I use Dreamweaver find and replace to do this through my entire Web site?

    So far, I don't know how to find one thing and replace it with another, rather than find the variables and replacing them with something.

    Thanks for your help with this!

    To find and replace this model: underscoreNumberUnderscore:

    Find: _\d_

    Replace: the value that you want to use (if it's nothing, leave the field blank)

    In Options, select use regular expression.

    This assumes that the number is a single digit. If you have numbers that have single or multiple numbers, change the value to find this:

    _\d+_

  • Find and replace using wildcards

    I have inserted the contents of table using Insert/Table/Insert tabular data objects in DWCS3 and you want to remove the table insert unwanted code.

    Example:

    < td width =156 valign = top style = "width: 117.0pt;" border-top: none; border-left:
    None; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt;
    MSO-border-top-alt: solid windowtext .5pt; MSO-border-left-alt: solid windowtext .5pt;
    MSO-border-alt: solid windowtext .5pt; background: #FF8A50; padding: 0 cm 0 cm 5.4pt 5.4pt' > < class = MsoNormal p > < span style ='mso-bookmark: CurrentPosition' > < span
    style = "size are: 10.0pt;" make family:Arial'>

    The text between "width" and "Arial" "" varies but these two words start and end are the same in each case be replaced - how can I find and replace using a regex wildcard?  Did some research on the web, but not yet to come through response.  I thought it would be simple and I hope that it is, and I'm just having a shock. Is this something like Find: "< td [^" "] * > and replace it with:"< td > "?  Am I close?

    I would be grateful to anyone who helps and thank you in advance for your time.

    You may be able to resolve this issue with the commands > Clean Up Word HTML.

    However, the following regular expression should also do what you are looking for (do a first backup). Put this in the search field:

    ()
    

    Put this in the field replace:

    $1$2
    

    Select "use regular expression.

  • Find and replace patter VI

    I fight with the help of the search and replace the sales pitch to replace a number of matches the substring in a string, can someone help and tell me what am I doing worng? Not an expert in regular expressions

    Basically, I'm trying to replace all matches for 'NONE', 'none' or 'normal' with 'OK in the '1NONE2none3normal4' string '.

    Thank you

    1. ditch that VI and use rather replace String

    2. right click and select "Regular Expression."

    3 wire True to replace all Ignore Case

    4. search string = (none | normal)

  • Find and replace it with an invalid Code in Dreamweaver CC 2015

    I have a HTML file of 800 line with about 200 H3 tags not closed I want to remove. I try to use search / replace, but it doesn't seem to be able to find non closed tags.

    In the excerpt below, I want to remove or delete the H3 tag:

    < /ul >

    < /li >

    < h3 class = "best_SubCategory_Title" id = "455474Title" >

    Best sedan

    < ul class = "ssMatchup_Entries" id = "Matchup455474Entries" >

    < /Li > < li > agreement

    Camry < li > < /li >

    Mazda 6 < /li > < li >

    Passat < li > < /li >

    < /ul >

    I tried different ways, but Dreamweaver search / replace engine can't not find invalid or cavities not blocked tags?

    Here are a few things that I tried, and as you can see, Dreamweaver cannot find the H3 tag:

    Screen Shot 2016-01-21 at 11.18.39 AM.png

    Screen Shot 2016-01-21 at 11.19.47 AM.png

    If I close it manually one of the H3 tags, and then find and replace can find. I think I can use regular expressions to do this, but I need to understand this too, if that's the only way.

    What do you think? Any idea on how to get rid of 200 H3 tags not closed? Perhaps another application?

    Answered my own question, here is the solution:

    For some reason, Dreamweaver cannot find and replace invalid code, or at least it is not easy to do. My problem was that I had a H3 tag not closed and would not replace it. I had to first close the H3 tag, and then I could replace it.

    I did a find and replace the one sought a ">" followed by a lot of white space, like this:

    As my license to close the H3 tag, then I could easily find and replace all now closed H3 tags, like this:

  • Turn on Find and Replace Options

    I noticed on the menu change in lifecycle designer, it provides two functions find and replace.  However, they are still grayed out.  How activate you their use?  I had a number of cases where these features would be helpful.

    Thank you

    Randy

    You can use it for this purpose too.

    In the XML Source, you can replace almost everything (the names of fonts, characters, words and expressions in the fields of form, legends or scripts, also sentences and scripts, properties etc..).

  • Problems with find and replace

    The search and replace feature doesn't seem to work
    To do the test I copy the code in a php doc and paste it into the find and replace article and click on search all (his game as "active document" and "source code".
    The result is saying 'finished. not found in the current document. It's disconcerting, as I've used it before and its worked
    Ive tried to reload everything and still no luck.
    I really want to get this work I need to replace pieces of code at least a hundred pages and hard to change it in one fell swoop doesn't have to do it manually
    all the best Graham

    yhallas wrote:
    > Find and replace function doesn't seem to work
    > To do the test I copy the code in a php doc and paste it into the discovery and
    > replacement article and click on find all (his game as "active document" and "source
    > code'.
    > The result saying "finished. not found in the current document. It's confusing
    > as I've used it before and its worked

    Make sure regular expressions use are not checked.

    --
    Adobe Community Expert David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Ideas: I get the 0x80073AFC error code when I try to use the system restore then, how can I find and replace this file missing MUI?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I get the 0x80073AFC error code when I try to use the system restore then, how can I find and replace this file missing MUI?

    • I am running Windows 7 for packs SP 1 or SP 2 does NOT solve my problem since neither one works with Windows 7.  Is there a way to search for this MUI (Multiple User Interface) missing file? The every thing must have himself installed in the first place. I took my mom (she died in June) and my brother on this PC as users so even if they do not use this PC supports multiple users. Maybe if I deleted as a reboot and additional users it will solve my problems. My updates install OK but I can't run at all system restore. It creates a restoration point OK but when I try to sr back to a restore point before I get the error 0x80073AFC topic of the missing MUI file. Then, when I spear SR it is said that he could not and no files have been changed because of the error 0x8000FFFF error, unspecified catastrophic failure and could not retrieve the file several times when system restore is attempted.

      I'm running Windows 7 on a HP Pavilion with browser Firefox 3.6.8 browser Opera 10.60, IE8 and Google Chrome 5.0.375.125 browser browser.

      Can you tell me what I try next? Thnks a lot and sayonara for now the guy-Jack McElwee / keimanzero the Scion of the Anime in Brookhaven PA - USA

      OK I tried everything and nothing works! Only added beginners are updated browser Opera 10.63; IE9 (Beta); Firefox 3.6.12 and Google Chrome 7.0.517.41 and Java 22. Of course like everyone else in the world, I had to uninstall/enable and disable/download again and reinstall new Adobe Flash 10 and 11 of the shock wave and they keep crashing too! Hello 4 keep screwing browsers and now I get connection network problems. I run Comcast doctor and did everything it said to do, but nothing works. Oh and I added 7-Zip and WinZip also. Likewise, they will not work! Help! Thanks - K & K

    keimanzero,

    Comcast of Norton Security Suite version is installed? If Yes, who and perhaps malware is most likely to cause questions you have published, in particular the failure of the restoration of the system.
    First, configure the system to boot - How to solve a problem by performing a boot in Windows Vista or in Windows 7
    NOTE: Start-up mode minimum state all the 3rd party firewalls will be disabled. Open Control Panel > Windows Firewall to make sure that the native firewall of Windows 7 is now on.

    Download and Save the update system (or CheckSUR) tool. You will need to download the specific Version of CheckSUR corresponding to the architecture of the system to Windows 7. If you do not know the architecture of the system, and then click the link that says "Click here to show or hide the instructions step by step with images" under method 2: download the update directly system preparation tool from Microsoft Download Center .
    Description of the preparation tool system update for Windows Vista for Windows Server 2008, for Windows 7 and for Windows Server 2008 R2

    Once the download is complete, close all open programs and browsers. Now, run CheckSUR with the system connected to the internet because it will download the .cab for system files. Reboot once CheckSUR is complete.

    Secondly, I suggest that you run the File Checker system while in the same clean boot state.
    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the field search programs and files .
    2. Right click on cmd.exe in the programs of list, and then choose 'run as administrator '.
      If you are prompted for an administrator password or a confirmation, type your password or click on continue.
    3. At the command prompt, enter the following line exactly as written including the space between thec and the/and then press ENTER:
      sfc/scannow

    When the analysis is complete, test to see if the problems facing the system have been resolved.

    If they are not, you will need to contact Norton support for the version of Norton Internet Security Comcast to get help, or just uninstall NIS, run the Norton removal tool (right click Norton_Removal_Tool.exe, choose "Run as Administrator"), reboot and then check to see if the problems are still occurring.

    Expert MowGreen Windows IT Pro - consumer safety

  • In Vista, it is possible to find and replace a specific name that I used many files on the hard drive?

    My apologies if someone already asked this (I couldn't find the answer however). I used the name of a person to dozens of (mostly Word) documents that are kept in many different files on my hard drive. I know that I can dig each document separately and then use hidden word and replace the tool to change the name. But this will inevitably take time. Is it possible to do a through - computer find and replace so that I don't have to do this exercise once? Any help gratefully received. Thank you.

    Hello

    I suggest you go through the article and check if it helps.

    Searching in Windows Vista, part 1

    http://Windows.Microsoft.com/en-CA/Windows-Vista/searching-in-Windows-Vista-part-1-secrets-of-the-search-box

    Searching in Windows Vista, part 2

    http://Windows.Microsoft.com/en-CA/Windows-Vista/searching-in-Windows-Vista-part-2-Start-menu-and-control-panel-search-tips

    Searching in Windows Vista, part 3

    http://Windows.Microsoft.com/en-CA/Windows-Vista/searching-in-Windows-Vista-part-3-using-advanced-search-for-those-hard-to-find-files

    Improve Windows searches using the index: frequently asked questions

    http://Windows.Microsoft.com/en-CA/Windows-Vista/improve-Windows-searches-using-the-index-frequently-asked-questions

    Hope this helps and let us know if you need more assistance.

  • InDesign, find and replace

    Hi, can anyone help with this problem, I have tried searching online a few times, but no luck.

    I have a paragraph with several capital letters in square brackets, for example: AAAAA (1) or (2) BBBB. If I need a "BOLD" of each of them, I will have to look for each other and manually "BOLD".

    Is there a function in find and replace that can auto search for this kind of texts and "BOLD" of all?

    Or GREP functions?

    Concerning

    Lily

    \(\d\) [\u\h] + \u

    (^/)

Maybe you are looking for

  • HP LaserJet Pro P1102 printer: download the software

    Please, I want the driver for my printer "HP LaserJet Pro P1102 printer" because it does not work on my macpro os x10.10 and when I opened the tab pilot Web site recognize my version software and everything's fine, then I click on update, and nothing

  • Can not download the update of BIOS for Satellite M70

    Hello I have a question. I'll upload an update of the BIOS for my laptop, but the site for downloading I have to give the name and the password. I m registered but I can't open the download of the update. Can you help me?

  • an x 200 warranty issue

    Hello I have the warranty for 1 1/2 years left on my lenovo x 200. But I am not the first owner. However, I have a proof of purchase, etc. Lenovo will respond to my request for warranty if something was wrong? Thank you Thank you

  • Cannot find files Limewire on PC after download

    I upgraded 5.5.13 Limewire 5.5.16, and I can't find my downloaded files (movies and songs). with all older versions that they were all saved in Documents > Limewire, but now, I searched the entire computer (start > Search toolbar) and nothing comes u

  • Windows Media Player won't let me burn CD, "connect a burner and restart the player."

    I use to be able to copy CDs on my computer. Windows Media Player now, says "connect a burner, then restart the player." There must be something simple that I know, I'm just bad at computers :)