Just erase everything before a given string
Posted: Thu Nov 24, 2011 10:54 pm
Hi,
I think this is so easy I'm embarassed to ask, but curiously I can't figure how to take this:
...and remove everthing before the first <h2> string. Doesn't matter what its contents are, but it must take into consideration that I want to wipe the blank lines there too.
Thanks for your help in advance.
I think this is so easy I'm embarassed to ask, but curiously I can't figure how to take this:
Code: Select all
}
.auto-style1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 1em;
}
<h2>segunda-feira, 10 de outubro de 2011</h2>...and remove everthing before the first <h2> string. Doesn't matter what its contents are, but it must take into consideration that I want to wipe the blank lines there too.
Thanks for your help in advance.