สวัสดีอีกครั้ง Superuser!
ฉันมีไฟล์ประมาณ 40 ไฟล์. txt พร้อมแถวเช่นนี้
11:20 : Go to lunch
13:40 : Go to parkinglot
14:40 : Wait for flight to arrive
..
(and so on for ~90 lines per txt file)
และฉันต้องการเปลี่ยนเป็น:
1. Go to lunch
2. Go to parkinglot
3. Wait for flight to arrive
...
ฉันได้ลองใช้ Notepad ++ โดยใช้เครื่องมือแทนที่ (CRTL + H) ด้วย regex นี้:
\d{2}:\d{2} :
แต่นั่นไม่ได้เปลี่ยนตัวเลขเป็นตัวเลขที่เพิ่มขึ้น
ใครช่วยแนะนำวิธีการทำสิ่งนี้ให้สำเร็จ