I have lists of text as below
{
VisGroups=(36)
MeshFile=spot26.gmt CollTarget=False HATTarget=False
}
HOW DO I REMOVE THESE SPACES
Instance=spot27
{
VisGroups=(36)
MeshFile=spot27.gmt CollTarget=False HATTarget=False
}
HOW DO I REMOVE THESE SPACES AND CLOSE UP THE TEXT
Instance=spot28
{
VisGroups=(36)
MeshFile=spot28.gmt CollTarget=False HATTarget=False
}
HOW DO I REMOVE THESE SPACES
Instance=spot29
{
VisGroups=(36)
MeshFile=spot29.gmt CollTarget=False HATTarget=False
}
Instance=spot30
{
VisGroups=(36)
MeshFile=spot30.gmt CollTarget=False HATTarget=False
}
how could i remove the spaces between the lines and close up the text above and below?
regards
phil
Remove blank spaces
- DigitalVolcano
- Site Admin
- Posts: 1863
- Joined: Thu Jun 09, 2011 10:04 am
Re: Remove blank spaces
To remove blank lines:
-Regular Expression Tab,
-Multi line anchors option enabled
Find: ^\r\n
Replace: (nothing)
That should do it.
Test in the regex tester first if not sure.
-Regular Expression Tab,
-Multi line anchors option enabled
Find: ^\r\n
Replace: (nothing)
That should do it.
Test in the regex tester first if not sure.
Re: Remove blank spaces
DV
many thanks that worked perfectly
regards
phil
many thanks that worked perfectly
regards
phil