Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Looking for some help with text editing.

junaid2323

New Coder
See the list below, I have a big list of journals upwards of 4000, I need to remove the HTML tags placed before each journal. is it possible with any shortcut or command?

Thank you.

Code:
</li><li class="active-result" data-option-array-index="82">ADVANCES IN EXPERIMENTAL MEDICINE AND BIOLOGY , Discipline: BioChem , Country: United States
</li><li class="active-result" data-option-array-index="83">ADVANCES IN EXPERIMENTAL MEDICINE AND BIOLOGY , Discipline: Medicine , Country: United States
</li><li class="active-result" data-option-array-index="84">ADVANCES IN GENETICS , Discipline: BioChem , Country: United States
 
Any half decent text editor has a replace function where you can remove an arbitrary (regex) pattern from lines. See attached image how to do it in Textpad. Or is this not what you meant ?
 

Attachments

  • x.jpg
    x.jpg
    93.1 KB · Views: 5
In whatever text editor you use, press CTRL+F and type in </li>. Make sure the "Replace With" is empty and click Replace All.
 
hey man thank you so much. It saved so much of my time. I knew there was some command to do that, I am a doctor and not very familiar with this. Thank you so much.
Any half decent text editor has a replace function where you can remove an arbitrary (regex) pattern from lines. See attached image how to do it in Textpad. Or is this not what you meant ?
 
Back
Top Bottom