How can I use search and replace to replace the title of the doc with copy of the h1 content?

I have a site with about 300 pages which have the same title. I need to replace this title by the same text that appears in the h1 tag on the page (each page is different). Of DW search and replace it? If so, how? I don't really want to go have to go to each page and copy/paste.

jeffsure wrote:

Is there a way to tell him to put only the first h1 tag in the title?

I'm really motivated now to learn regex!

Yes. Just use the following regular expression instead of the previous:

([^<>[\S\s]+?

)([^<>

The field is to replace the same.

The question mark is the [\S\s]+ a lazy search, stopping at the first]

rather than doing a greedy research that concludes the last

in the page.

The regex for learning is difficult, but it can be very rewarding. I would only like the best.

Tags: Dreamweaver

Similar Questions

  • How can I re - order and replace the pictures in slideshow basis?

    I put some pictures in slideshow basis and they went to the fine, but now I want to replace and rearrange the but may not know how to do this. I noticed that it is possible in the thumbnail option, but how in Basic?

    Temporary switch 'Vignettes' on in the control panel of your slide show. Make slide the tile where you want or press "Delete" to remove them.

  • How can I use Adobe and a camera at the same time?

    I am a musician and I put to read sheet music and record with the camera to the IPad. But whenever I left the window of the camera and switch to Adobe agani, the camera stop recording.

    I can't save IM reading the notes of music at Adobe.

    I use Air from the IPad.

    Nobody helps me?

    Thank you.

    Hi Edusax,

    It seems to be the limitation of the device because it doesn't have the split screen function to use two applications at the same time.

    You will need two devices else you can print the PDF to read sheet music.

    Kind regards

    Nicos

  • Search and replace the string formatting

    Hello

    I try to do a search and replace the formatting of a string.

    In the example, I'm looking for the string 'SUCCESSFUL', but it must also begin by usbflash and some number + PASSED.

    I can't get the format to have a number between 1 and 99. The number of replacements should add up to 6 in this case. I tried with \d for any number, and I also tried [1-99].

    Make a right-click on the function search and replace the string.  There is an option to use regular Expressions.  Then give it a try.

    EDIT: You need to set the entry replace all to TRUE.

  • Can I use arrowheads and figures to be the custom shape set come with photoshop in graphic design that will be put on Youtube?

    Can I use arrowheads and be in numbers the the custom shape set come with photoshop in graphic design that will be put on Youtube or social networking?

    Hi albert xu,.

    Greetings!

    Yes, you can as this is why photoshop is intended.

    You can use and create designs and post that publicly.

    Concerning

    Jitendra

  • How can I use a regular expression to validate the email address

    How can I use a regular expression to validate the e-mail address.

    var emailExp:RegExp = /([a-z0-9._-]+?) @([a-z0-9.-] +). ([a - z] {2,4});

  • I accidentally lost some jpeg files using movement and replace the function when transffering in a new folder. Where will the replaced files?

    I moved some images in a folder, some of the images already in the folder had the same name as the new scanned images IE 1 Scan, Scan 2 etc. I used the move and replace the folder without thinking that I was in a hurry. I still need replaced images but now I can not find them I thought that they would have ended up in the trash, but they aren't there?

    You can download some like this free data recovery software to recover deleted files.

    1 panda Recovery http://www.pandorarecovery.com

    2 recuva http://www.snapfiles.com/get/recuva.html

    3. undelete more http://undelete-plus.com/

    How does it work?

    When you delete a file on the FAT32 or NTFS file system, its content is not erased the disc, but only the reference to the data file in the file Table of Allocation or the master file Table is marked as deleted. This means that you might be able to recover files deleted, or to be visible through the file system again.

  • How can I use my legal license instead of the cracked version of Windows 7

    Windows 7 Cracked Version

    I use windows 7 cracked version of geniune microsoft but I bought the license for my windows and I don't want to use cracked version more, how can I use my legal license key?

    It cannot be that simple. If windows is cracked with the loading of a hacker program, the charger must be removed.

    Make sure that the product keys match the edition of windows.
    Personally, I would install a legitimate copy of windows. You never know what is contained in a pirated version.
  • Query - How can I use POP3 and Port 110 as my transport?

    My e-mail provider can use POP3 (port 110) or IMAP (port 143) that the port of mail transport.

    E-mail on my TP does not seem to work with port 143. Is it possible to make it work with port 110?

    Alan

    Of course, you can manually enter the server name and the port number for any account.

    • Open Email.
    • Open the application menu at the top left, tap Preferences & accounts, tap the account you want to change.
    • Scroll down to change the connection settings and then on the installation manual.
    • Enter the information for the incoming and outgoing as expected POP or IMAP mail server.

    If you must change the type of email from IMAP POP you need to delete the account and re-create it again, and choose to enter the settings manually.

  • How can I remove Vista and replace it with XP on a Dell laptop without losing my partition to factory?

    Vista has conflicts and no current update on my laptop and the mouse keyboard, so it is erratically. Since an upgrade of Vista has been added to my laptop, it has been in place. The cursor seems to have a mind of its own and I can't change the mouse settings. There is not an update to Vista since the device mouse or keyboard. After countless hours of lost looking for a solution, I decided to give up the garbage of Vista and I refuse to pay more money for the upgrade to Windows 7. So I want to go back to XP, but I can not install XP with the installation disc that came with the laptop. It stops the installation and tells me that I have a newer version of Windows. What I read, I have to do a clean install, but I want to do, so I do not lose the hidden partition that has been installed by Dell. Any help would be greatly appreciated! I've used Windows years but this abortion of Vista is too heavy for me. And it's like cancer, I can't seem to get rid of it! Time to think about a Mac soon, I guess.

    A clean install will go to the C:\ drive and does not affect your partition recovery disk D:\ (as long as you tell him installed on C:\ assuming the disk that is the drive of the current system and disk D:\ is the recovery disc).  Note that, with a clean install you will lose all your data (everything on the partition - not everything on the disc if it has more than one partition) then you should backup your data first.

    Here is more information on the operation of a clean install: http://www.winsupersite.com/showcase/winvista_install_03.asp.

    Frankly, I would transfer this question in Forum Windows Update: http://social.answers.microsoft.com/Forums/en-US/vistawu/threads where the people who specialize in Windows Update issues will be more than happy to help you with your problem.  Perhaps, it can be fixed without the need to resort to the downgrading to XP (and these people would be able to help as best as we).

    Keep in mind that Mac have their own set of problems - different from Windows, but they are not without problems (and you probably have some software that works with Windows and it would be a shame to lose that).  You just need to help solve your problem (or, if you wish, to return to XP which is probably more stable than Vista).

    I hope this helps.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • How can I use EXISTS and no SEPARATE in this query? DDL/DML (attached)

    Example queries SQL start - from the beginner to the professional by Clare Churcher(sorry about the long example script)


    I have 3 tables: Member, entry, tournament (scripts DDL/DML attached below).

    The members and tournament tables have no common column. Member.Membertype and Tournament.tourtype are different columns despite the similarity of its content


    Table 1. Member
     MEMBERID LASTNAME             FIRSTNAME            MEMBERTYPE         
    --------- -------------------- -------------------- --------------
          118 McKenzie             Melissa              Junior             
          138 Stone                Michael              Senior             
          153 Nolan                Brenda               Senior             
          176 Branch               Helen                Social             
          178 Beck                 Sarah                Social             
          228 Burton               Sandra               Junior             
          235 Cooper               William              Senior             
          239 Spence               Thomas               Senior             
          258 Olson                Barbara              Senior             
          286 Pollard              Robert               Junior             
          290 Sexton               Thomas               Senior             
          323 Wilcox               Daniel               Senior             
          331 Schmidt              Thomas               Senior             
          332 Bridges              Deborah              Senior             
          339 Young                Betty                Senior             
          414 Gilmore              Jane                 Junior             
          415 Taylor               William              Senior             
          461 Reed                 Robert               Senior             
          469 Willis               Carolyn              Junior             
          487 Kent                 Susan                Social
    
    20 rows selected.
          
    Table 2: Entry
      MEMBERID     TOURID       YEAR
    ---------- ---------- ----------
           118         24       2005
           228         24       2006
           228         25       2006
           228         36       2006
           235         38       2004
           235         38       2006
           235         40       2005
           235         40       2006
           239         25       2006
           239         40       2004
           258         24       2005
           258         38       2005
           286         24       2004
           286         24       2005
           286         24       2006
           415         24       2006
           415         25       2004
           415         36       2005
           415         36       2006
           415         38       2004
           415         38       2006
           415         40       2004
           415         40       2005
           415         40       2006
    
    24 rows selected.
    Table 3: Tournament
      TOURID TOURNAME             TOURTYPE
    -------- -------------------- --------------
          24 Leeston              Social
          25 Kaiapoi              Social
          36 WestCoast            Open
          38 Canterbury           Open
          40 Otago                Open
    My requirement:+.
    I need to find the names of all those who entered the tournament Open (tournament. Tourtype = open). So I wrote the following query
     select distinct m.memberid, m.lastname, m.firstname, t.tourtype
     from
     member m inner join entry e on (m.memberid=e.memberid)
     inner join tournament t on (e.tourid=t.tourid)
     and upper(t.tourtype)='OPEN'
     order by m.lastname;
     
    It gives me a correct result.
     MEMBERID LASTNAME   FIRSTNAME  TOURTYPE
    -------- ---------- ---------- ------------------
         228 Burton     Sandra     Open
         235 Cooper     William    Open
         258 Olson      Barbara    Open
         239 Spence     Thomas     Open
         415 Taylor     William    Open
    But it means I can write this SQL using operator EXISTS?



    The DDL and DML to tables and their data
    CREATE TABLE Type(
        Type VARCHAR2(20) Primary Key,
        Fee number)
    /
    
    CREATE TABLE Member(
        MemberID NUMBER Primary Key,
        LastName VARCHAR2(20),
        FirstName VARCHAR2(20),
        MemberType VARCHAR2(20) constraint fk1_member References type(type),
        Phone VARCHAR2(20), Handicap NUMBER, JoinDate DATE, Coach NUMBER, Team
        VARCHAR2(20), Gender VARCHAR2(1))
    /
    
    
    
    CREATE TABLE Tournament(
        TourID NUMBER Primary Key,
        TourName VARCHAR2(20),
        TourType VARCHAR2(20))
    /
    
    
    
    CREATE TABLE Entry(
        MemberID NUMBER constraint fk1_entry References Member(memberid),
        TourID NUMBER constraint fk2_entry References Tournament(tourid), Year
        NUMBER,
    constraint pk_entry Primary Key (MemberID, TourID, Year))
    /
    
    Insert into Type values ('Junior',150)
    /
    
    
    Insert into Type values ('Senior',300)
    /
    
    
    Insert into Type values ('Social',50)
    /
    
    
    Insert into Member values
    (118,'McKenzie','Melissa','Junior','963270',30,null,null,null,'F')
    /
     Insert
    into Member values
    (138,'Stone','Michael','Senior','983223',30,null,null,null,'M')
    /
     Insert
    into Member values
    (153,'Nolan','Brenda','Senior','442649',11,null,null,'TeamB','F')
    /
     Insert
    into Member values
    (176,'Branch','Helen','Social','589419',null,null,null,null,'F')
    /
     Insert
    into Member values
    (178,'Beck','Sarah','Social','226596',null,null,null,null,'F')
    /
     Insert
    into Member values
    (228,'Burton','Sandra','Junior','244493',26,null,null,null,'F')
    /
     Insert
    into Member values
    (235,'Cooper','William','Senior','722954',14,null,null,'TeamB','M')
    /
    Insert into Member values
    (239,'Spence','Thomas','Senior','697720',10,null,null,null,'M')
    /
     Insert
    into Member values
    (258,'Olson','Barbara','Senior','370186',16,null,null,null,'F')
    /
     Insert
    into Member values
    (286,'Pollard','Robert','Junior','617681',19,null,null,'TeamB','M')
    /
    Insert into Member values (290,'Sexton
    ','Thomas','Senior','268936',26,null,null,null,'M')
    /
     Insert into Member
    values (323,'Wilcox','Daniel','Senior','665393',3,null,null,'TeamA','M')
    /
    Insert into Member values
    (331,'Schmidt','Thomas','Senior','867492',25,null,null,null,'M')
    /
     Insert
    into Member values
    (332,'Bridges','Deborah','Senior','279087',12,null,null,null,'F')
    /
     Insert
    into Member values
    (339,'Young','Betty','Senior','507813',21,null,null,'TeamB','F')
    /
     Insert
    into Member values
    (414,'Gilmore','Jane','Junior','459558',5,null,null,'TeamA','F')
    /
     Insert
    into Member values
    (415,'Taylor','William','Senior','137353',7,null,null,'TeamA','M')
    /
     Insert
    into Member values
    (461,'Reed','Robert','Senior','994664',3,null,null,'TeamA','M')
    /
     Insert
    into Member values
    (469,'Willis','Carolyn','Junior','688378',29,null,null,null,'F')
    /
     Insert
    into Member values
    (487,'Kent','Susan','Social','707217',null,null,null,null,'F')
    /
    
    Insert into Tournament values (24,'Leeston','Social')
    /
    
    
    Insert into Tournament values (25,'Kaiapoi','Social')
    /
    
    
    Insert into Tournament values (36,'WestCoast','Open')
    /
    
    
    Insert into Tournament values (38,'Canterbury','Open')
    /
    
    
    Insert into Tournament values (40,'Otago','Open')
    /
    
    
    
    
    Insert into Entry values (118,24,2005)
    /
    
    
    Insert into Entry values (228,24,2006)
    /
    
    
    Insert into Entry values (228,25,2006)
    /
    
    
    Insert into Entry values (228,36,2006)
    /
    
    
    Insert into Entry values (235,38,2004)
    /
    
    
    Insert into Entry values (235,38,2006)
    /
    
    
    Insert into Entry values (235,40,2005)
    /
    
    
    Insert into Entry values (235,40,2006)
    /
    
    
    Insert into Entry values (239,25,2006)
    /
    
    
    Insert into Entry values (239,40,2004)
    /
    
    
    Insert into Entry values (258,24,2005)
    /
    
    
    Insert into Entry values (258,38,2005)
    /
    
    
    Insert into Entry values (286,24,2004)
    /
    
    
    Insert into Entry values (286,24,2005)
    /
    
    
    Insert into Entry values (286,24,2006)
    /
    
    
    Insert into Entry values (415,24,2006)
    /
    
    
    Insert into Entry values (415,25,2004)
    /
    
    
    Insert into Entry values (415,36,2005)
    /
    
    
    Insert into Entry values (415,36,2006)
    /
    
    
    Insert into Entry values (415,38,2004)
    /
    
    
    Insert into Entry values (415,38,2006)
    /
    
    
    Insert into Entry values (415,40,2004)
    /
    
    
    Insert into Entry values (415,40,2005)
    /
    
    
    Insert into Entry values (415,40,2006)
    /

    Hello, because you select tournament.tourtype in the SELECTION list, the answer is not really. If you have need of t.tourtype in the SELECT list, you might have:

    select m.memberid, m.lastname, m.firstname
    from member m
    where exists (select 1
            from entry e inner join tournament t on (e.tourid=t.tourid)
            where m.memberid=e.memberid
                and upper(t.tourtype)='OPEN');
    

    And you know that the t.tourtype is 'OPEN' anyway, if you do not need to SELECT. So, you may have it, and the answer is Yes:

    select m.memberid, m.lastname, m.firstname, 'OPEN' tourtype
    from member m
    where exists (select 1
            from entry e inner join tournament t on (e.tourid=t.tourid)
            where m.memberid=e.memberid
                and upper(t.tourtype)='OPEN');
    

    Published by: Seanmacgc on May 7, 2009 02:09

  • How can I reinstall windows after replacing the hard drive? Laptop did not come with a disc.

    My internal hard drive went bad in my laptop, easy to replace and relatively inexpensive. However, the laptop came not with the windows disk. So, how can I reinstall windows once I replaced the hard drive?

    Basically, you have two choices. You can communicate with the person who made the computer and see if they can provide either a set of Windows Vista restore disks (I would assume) or an installation for Windows Vista (probably OEM) DVD. If the second choice, determine if you will need to download device drivers or software packages from their web site. OR, you can purchase the operating system of your choice, retail. The wisdom is that, if this is your choice, you see if you will need the device drivers and get those of the web site of the manufacturer.

    Once you have the disks, install in the usual way.

    Tom Ferguson

  • How can I reinstall Windows after replacing the hard drive? I don't have the disk.

    Windows Vista Edition Home Premium

    My daughter has a computer with Windows Vista Home Premium.  His hard drive went bad and I will install another.  I would like to reinstall Windows Vista Home Premium, but can not find the disc.  I don't have the license code information, but I can't find where I can download the program.  Can someone help me?

    Hello

    Contact the computer manufacturer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    How to replace Microsoft software or hardware, order service packs and replace product manuals

    http://support.Microsoft.com/kb/326246

  • Can I use truncated and where clause in the statement even?

    Hello guys,.

    Can I use truncated with where clause in the same statement.


    For ex:

    TRUNCATE TABLE my_table WHERE id < 500;

    If not, that you recommend me to overtemperature to the level of high water line?


    By the way
    select * from v$version;
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE 11.2.0.1.0 Production."
    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    >

    Thank you very much.

    Published by: 970992 on 11:14 13.Ara.2012

    >
    Okay I need an increasing amount of space. However, at the same time I want to recover the spaces empty below HWM. So, I need to use less amount of space I am inserting. Therefore, shouldn't use retractable for this?
    >
    Why waste the effort. Oracle will reuse the space below the HWM when doing inserts. You already said that you insert more lines you delete so all these will be more accustomed to the top.

    The only time where that oracle may not use space is when the space is too small to be useful. It is documented in the doc, I told you
    >
    Understanding recoverable unused space
    Over time, Update, and Delete on objects within a tablespace can create pockets of empty space that individually are not large enough to be reused for the new data.
    >
    Most uses of CONTRACTION I've seen are totally useless. If you follow the doc and run the Advisor of segment it will tell you if there is space that can be retrieved and how much. But, even once, for your use even if case will get you will Oracle while you need to reassign the new extensions, then the HWM will just go still higher.

    If pay you a heavy price in Oracle did a full table scan, update of many blocks from the table, update THE index, impact performance for other users to access the table during the SHRINK and reallocate extensions (maybe even some of the same areas) when you insert more data.

    Do not SHRINK unless you know it's necessary.

  • Can I use conditional and advanced actions on the same button?

    I'm fairly new to Captivate, but come from a flash background and I do of Captivate to do certain things, that I expected to be straightforward and a normal requirement.

    I want to create a screen with a number of interactive objects, in this case photos, it's the learner clicks on to display a text element.

    By clicking on the following image, the first piece of text is hidden and a second piece shown.

    There are 6 images/buttons which have to work in this way.

    However, I also want to determine if all the buttons have been used, as we force the user to view the entire slide before you continue.

    I can do the hide/show text and buttons, and I wrote a conditional action to check the variables for each button. However I do not know how and when to appeal to this action.

    I was hoping that in my Advanced action for each button, I could add in a call to the conditional action "record"variables", which would be very well fulfil this requirement, however this doesn't seem to be the case."

    I also animation/effects on the timeline before the images are on the meaning of screen I want to go back to the beginning of the timeline to use an event "on enter.

    I am surprised that this isn't something that people most need because while it may be frowned upon outside in the field of e-learning, disabled navigation is frankly not will disappear and working for a large corporation will be a must.

    If anyone can shed some light on this, or perhaps suggest a better approach then I'd appreciate it.

    Thank you.

    Of course, it is possible. This is the approach I explained (for previous versions):

    http://blog.lilybiri.com/template-for-reusing-script

    The models that I offered it, were invited to a lot of times and are used all over the world, which is funny

    I also have templates for CP6 and 7, but has stopped offering everything for free. And 7, you can have all the shares shared in a library that can be used as external library... just a tip: http://blog.lilybiri.com/new-features-in-captivate-7-dot-01

    Agreement on controls on effects for paths, please submit a feature request as many have already done to have the most control over the coordinate without having to change the XML file.

    It would be nice to have timed events. Jim Leichliter has a widget (only for the SWF) which allows some scripted events. The interaction of timer that can do as well, but is not very accurate because after that time there is always a lag of about 2 seconds.

    http://blog.lilybiri.com/events-and-advanced-actions tells us about the available events.

    Sorry for all these links, but advanced actions are my passion, since they appeared with 4. They are limited, all right, but I managed to convince many users to give them a try at different levels. Would love to train more users for this "point-and-click" approach that does not really need programming skills, but only a logical mind.

Maybe you are looking for