Skip to main content
formatting
Source Link
Sundeep
  • 12.2k
  • 3
  • 28
  • 73

move to <acd> to new line and values after to new line

[1]: https://i.sstatic.net/aEdlf.png**strong text**

move to new line and values after to</acd> to new line

Input File:

abcdaghjdkadlkh dghakj

abcd<acd>aghjdkadlkh</acd> <bud> dghakj </bud>

expected Output:

abcd

aghjdkadlkh

dghakj

abcd
<acd>
aghjdkadlkh
</acd>
<bud>dghakj</bud>

move to new line and values after to new line

[1]: https://i.sstatic.net/aEdlf.png**strong text**

move to new line and values after to new line

Input File:

abcdaghjdkadlkh dghakj

expected Output:

abcd

aghjdkadlkh

dghakj

move <acd> to new line and values after </acd> to new line

Input File:

abcd<acd>aghjdkadlkh</acd> <bud> dghakj </bud>

expected Output:

abcd
<acd>
aghjdkadlkh
</acd>
<bud>dghakj</bud>
Source Link
Parthi
  • 85
  • 1
  • 1
  • 7

matching pattern to new line

move to new line and values after to new line

[1]: https://i.sstatic.net/aEdlf.png**strong text**

move to new line and values after to new line

Input File:

abcdaghjdkadlkh dghakj

expected Output:

abcd

aghjdkadlkh

dghakj