for example:
text.log file:
123,
4312421
53423543,
5643645,
Will only return/replace the 4312421 with 4312421,
I need to fix many files that are old and not ending with ','
at the end of some lines.
Replace using a lookbehind in regex mode:
Find:
(?<!,)$
Replace:
, [just a single comma]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.