简体   繁体   中英

Replace With Regex Notepad++

can notepad++ replace using regex for this one:

更换前

更换后

any help much appreciated.

You could use something like so:

Find What: \\((\\d+), \\d+, ('.+?'), (\\d+), ('[^']+').+\\) Replace with: \\($1, $2, $3, $4\\)

Takes as input: (35, 25, 'xxxx.com', 82, '2014-07-18', 3, '2013-07-18', 1, 1,...) yields: (35, 'xxxx.com', 82, '2014-07-18') .

As an FYI, when posting code, please do not use images.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM