If I could get help?
I am trying to add _ on a new line
Old text
dn: CN=Redwood
changetype: modify
proxyAddresses: SMTP:RedwoodStaff@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa0acf-3249ccd1-699eed6-e2d6a2e5
proxyAddresses: GWISE:testlab1@testlab.com
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
Want to be text
dn: CN=Redwood
changetype: modify
proxyAddresses: SMTP:RedwoodStaff@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa0acf-3249ccd1-699eed6-e2d6a2e5
proxyAddresses: GWISE:testlab1@testlab.com
_
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
_
Thank you
Add a new line on the end of a specific text
There are plenty of ways.
For example if you want to replace new line by _
then it can be done using regular expressions:
go to Batch replace tab and check on "Use regular expressions"
then Search for:
\r\n\r\n
Replace with:
\r\n_\r\n\r\n
But you can also use different "end" tags like GWISE to determinate
where you have to place _ and so on.
For example if you want to replace new line by _
then it can be done using regular expressions:
go to Batch replace tab and check on "Use regular expressions"
then Search for:
\r\n\r\n
Replace with:
\r\n_\r\n\r\n
But you can also use different "end" tags like GWISE to determinate
where you have to place _ and so on.
What do you mean empty space?
Source text
Resulting text
Then you may use search for:
\r\n
replace with:
\r\n
because \r\n is new line separator.
Source text
Code: Select all
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
Resulting text
Code: Select all
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
Then you may use search for:
\r\n
replace with:
\r\n
because \r\n is new line separator.
Space between sections. Sorry for such a trivial question.
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com
dn: CN=tpat55
changetype: modify
proxyAddresses: SMTP:tpat55@testlab.com
proxyAddresses: X400:c=US;a=testlab
proxyAddresses: gwise:UID=f3aa9acf-3269ccd1-6ooeed6-e2d6a1e9
proxyAddresses: GWISE:testlab2@testlab.com