ZvezdanD wrote:Sorry, but I could not read your mind. I already said that I don't know what you want and you didn't explained me more specific what is your intention. Send me one wrong lyrics with extra spaces and same lyrics which you cleaned by hand, so I could see what you want.Muther wrote:the second expression (\r\n){3,} only strips out double blank lines. which is useful and I can use it but still need to go in and fix the double line spaces
Ok I'll try to show you what I mean..... I have a lot of lyrics that look like this -
and I want them to look like thisActing like a maniac
Whiplash
Bang your head against the stage
Like you never did before
Make it ring Make it bleed
Make it really sore
In a frenzied madness
with your leather and your spikes
Heads are bobbing all around
It is hot as hell tonight
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
Here on the stage the Marshal noise
is piercing through your ears
It kicks your ass kick your face
Exploding feeling nears
Now is the time to let it rip
To let it fuckin' loose
We are gathered here to im and kill
Cause this is what we choose
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
The show is through the metal is gone
It is time to hit the road
Another town Another gig
Again we will explode
Hotel rooms and motorways
Life out here is raw
But we will never stop
We will never quit
cause we are Metallica
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
I get there by pressing (starting on the first blank line) delete then the down arrow then delete then the down arrow all the way to the end of the file. I use to do this as I saw them and had the time to do it.Acting like a maniac
Whiplash
Bang your head against the stage
Like you never did before
Make it ring Make it bleed
Make it really sore
In a frenzied madness
with your leather and your spikes
Heads are bobbing all around
It is hot as hell tonight
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
Here on the stage the Marshal noise
is piercing through your ears
It kicks your ass kick your face
Exploding feeling nears
Now is the time to let it rip
To let it fuckin' loose
We are gathered here to im and kill
Cause this is what we choose
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
The show is through the metal is gone
It is time to hit the road
Another town Another gig
Again we will explode
Hotel rooms and motorways
Life out here is raw
But we will never stop
We will never quit
cause we are Metallica
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
sometimes the file looks like this........ with a gap in the middle of the text not a huge deal but I display the lyrics pannel so every extra line is a scroll maker
Rat-tailed Jimmy is a second hand hood
He deals out in Hollywood
Got a '65 Chevy, primered flames
Traded for some powdered goods
Jigsaw Jimmy He's runnin' a gang
But I hear he's doin' o.k.
Got a cozy little job, sells the Mexican mob
Packages of candycaine
He's the one they call Dr. Feelgood
He's the one that makes ya feel alright
He's the one they call Dr. Feelgood
Cops on the corner always ignore
Somebody's getting paid
Jimmy's got it wired, law's for hire
Got it made in the shade
Got a little hideaway, does business all day
But at night he'll always be found
Selling sugar to the sweet
People on the street
Call this Jimmy's town
He's the one they call Dr. Feelgood
He's the one that makes ya feel alright
He's the one they call Dr. Feelgood
He's gonna be your Frankenstein I've got one thing you'll understand
He's not what you'd call a glamorous man
Got one thing that's easily understood
He's the one they call Dr. Feelgood
but after I run the 2nd formula (\r\n){3,} that you gave me it fixes the mutipal blank lines in the file and it looks like this
Rat-tailed Jimmy is a second hand hood
He deals out in Hollywood
Got a '65 Chevy, primered flames
Traded for some powdered goods
Jigsaw Jimmy He's runnin' a gang
But I hear he's doin' o.k.
Got a cozy little job, sells the Mexican mob
Packages of candycaine
He's the one they call Dr. Feelgood
He's the one that makes ya feel alright
He's the one they call Dr. Feelgood
Cops on the corner always ignore
Somebody's getting paid
Jimmy's got it wired, law's for hire
Got it made in the shade
Got a little hideaway, does business all day
But at night he'll always be found
Selling sugar to the sweet
People on the street
Call this Jimmy's town
He's the one they call Dr. Feelgood
He's the one that makes ya feel alright
He's the one they call Dr. Feelgood
He's gonna be your Frankenstein I've got one thing you'll understand
He's not what you'd call a glamorous man
Got one thing that's easily understood
He's the one they call Dr. Feelgood
which is great! but if I run the second formula (\r\n){3,} on the original file with the double line spacing I get a result like this..... unwanted result
Acting like a maniac
Whiplash
Bang your head against the stage
Like you never did before
Make it ring Make it bleed
Make it really sore
In a frenzied madness
with your leather and your spikes
Heads are bobbing all around
It is hot as hell tonight
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
Here on the stage the Marshal noise
is piercing through your ears
It kicks your ass kick your face
Exploding feeling nears
Now is the time to let it rip
To let it fuckin' loose
We are gathered here to im and kill
Cause this is what we choose
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
The show is through the metal is gone
It is time to hit the road
Another town Another gig
Again we will explode
Hotel rooms and motorways
Life out here is raw
But we will never stop
We will never quit
cause we are Metallica
Adrenaline starts to flow
You're thrashing all around
Acting like a maniac
Whiplash
I hope this explains it, I dont want to waste your time but I don't know much about formulas and regexp except it's confusing...LOL I realize the power in your script but more important I see that in my hands it is a dangerous script to use...LMAO all I can say is thank you for presets!
thank you for spending so much time trying to get me straightened out on this, I really appreciate it