| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Gold Sponsor 2015! |
|Regular expressions in NeoOffice Calc|
I have a CSV file, exported from mySQL, which I'm trying to update. What I want to achieve is to replace the <div> tags with <p> tags.
I can find this search term in the document:
but this one does not work:
I'm not sure what to replace this with, because I want the content between the div tags to stay in place.
<p class="className">Content to stay in place</p>
I have also tried searching across multiple lines with this expression (white space, new line, white space):
</div>\s*\n*\s*<div class="className2">, but have not found any matches.
Also, could you please explain the use of
I'm very much a newbie at this, so would appreciate any advice. I've had a look at some of the Regex posts on the Perl forum, but that's not down my alley.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved