'How do I cut text from beginning of a line and paste it at the end of the same line after adding :
I have over 1000 lines of text in this format.
[email protected]:smtp.seznam.cz:587:[email protected]:pompo007:
I need to cut the email address at the start and paste it at the end like so.
smtp.seznam.cz:587:[email protected]:pompo007:[email protected]
Solution 1:[1]
:
is a separator
Use Replace with regex
find what: ([^:]+):(.*)
replace with: \2\1
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | hpchavaz |