This challenge needs to be solved in Python.
- You are given an
.txt
file.- example: sample_input.txt
- You are supposed to write a python program to get all the URLs from the file and convert them into anchor tags.
- example: sample_output.txt
- https://twitter.com/StalwartCoder | |
- https://twitter.com/sunnykgupta | |
- https://twitter.com/vvaibhav_desai | |
- https://twitter.com/prudhvir3ddy | |
- https://twitter.com/yash_kr_verma | |
- https://twitter.com/ivinayakg | |
- https://twitter.com/yashsehgaldev | |
- https://twitter.com/electron0zero | |
- https://twitter.com/WHYkalwani | |
- https://twitter.com/omtalk |
This challenge needs to be solved in Python.
.txt
file.
My name is Dheeraj. I am active on Twitter/X. Here is my profile: <a rel="noreferrer noopener" target="_blank" title="https://twitter.com/DhiruCodes" href="https://twitter.com/DhiruCodes">https://twitter.com/DhiruCodes</a>. | |
I am a Backend Engineer. My GitHub account <a rel="noreferrer noopener" target="_blank" title="https://github.com/dheerajdlalwani" href="https://github.com/dheerajdlalwani">https://github.com/dheerajdlalwani</a> is where I have all my projects. | |
Want to see an example website? go to <a rel="noreferrer noopener" target="_blank" title="https://example.com" href="https://example.com">https://example.com</a>. |
My name is Dheeraj. I am active on Twitter/X. Here is my profile: https://twitter.com/DhiruCodes. | |
I am a Backend Engineer. My GitHub account https://github.com/dheerajdlalwani is where I have all my projects. | |
Want to see an example website? go to https://example.com. |