Hi,
I'm trying to copy part of data in the html file to elsewhere (inside <title></title> tags) in the same html file.
I have:
...
<title>Title</title>
</head>
<body>
text
<p class ="author">author, affiliation</p>
other text
</body>
...
and I need:
<title>Title, author</title>
</head>
<body>
text
<p class="author">author, affiliation</p>
other text
...
Really appreciate your help,
N
copying data elsewhere inside html
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: copying data elsewhere inside html
Match EasyPattern:
Replace with:
Code: Select all
<title>[ capture(1+chars) as 'title' ]</title>
</head>
<body>
text
<p class ="author">[ capture(1+chars) as 'author'], affiliation</p>
other text
</body>
Code: Select all
<title>@title, @author</title>
</head>
<body>
text
<p class ="author">@author, affiliation</p>
other text
</body>