![]() |
#1 |
Connoisseur
![]() Posts: 85
Karma: 10
Join Date: Nov 2015
Device: tablet
|
partial cancellation
Hi,
Please, can someone tell me how to delete one or more words enclosed in brackets from the title of many files, also deleting the brackets? For example from: Delphi Complete Works of Apuleius (Illustrated) to: Delphi Complete Works of Apuleius Thanks. Last edited by gianni_1; 05-06-2025 at 02:48 AM. |
![]() |
![]() |
![]() |
#2 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 167
Karma: 1497966
Join Date: Jul 2021
Device: N/A
|
If the title is always the same , you can
find : (Delphi [^(]+)\([^)]+\) replace : \1 if you want to get rid of an optional space before the bracket, put : find : (Delphi [^(]+)\s?\([^)]+\) replace : \1 with "dot all" unchecked If the title is always different (e.g. chapter title) you have to have a significative part, e.g. <h1> or <h1 class="myclass"> in : <h1>Something (something else)</h1> find: (<h1[^(]+)?\s\([^)]+\)(</h1>) replace: \1\2 (deleting the optional space) If you have trailing chars, like in <h1>Something (something else), part 3</h1> then : find: (<h1[^(]+)?\s\([^)]+\)(.*?)(</h1>) replace \1\2\3 Last edited by lomkiri; 05-04-2025 at 11:27 AM. Reason: regex with <h1> modified |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW2 Partial Jailbreak on 5.12.2 | jonnydeath | Kindle Developer's Corner | 2 | 04-04-2020 08:09 AM |
Audible cancellation: $20 coupon | Catlady | Audiobook Discussions | 20 | 10-21-2016 04:47 PM |
Touchpad cancellation - B&N shows class | HeyYou | Barnes & Noble NOOK | 6 | 08-27-2011 02:18 PM |
Touch How to do Partial Refreshes | charleski | Kobo Reader | 1 | 06-18-2011 12:53 AM |