Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-25-2012, 07:29 AM   #1
RotAnal
Connoisseur
RotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheese
 
RotAnal's Avatar
 
Posts: 87
Karma: 1234
Join Date: Sep 2012
Device: Onyx Boox M92
S&R: Truncate a string in a field

Dear Users,
while importing my e-books into Calibre I am facing to this apparently easy question. I want to truncate the content of a field to the first X chars.
How do you make this with RegExps in Calibre Bulk S&R Tab?
Thank you in advance for your possible suggestions
RotAnal is offline   Reply With Quote
Old 09-25-2012, 09:53 AM   #2
RotAnal
Connoisseur
RotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheese
 
RotAnal's Avatar
 
Posts: 87
Karma: 1234
Join Date: Sep 2012
Device: Onyx Boox M92
This time I gave myself the answer, which is however quite simple:

SEARCH: (\w{<number of chars>}).+
REPLACE: \1

Thanks anyway for the attention
RotAnal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy data from Title field to IDs field rlh3 Library Management 9 09-24-2012 08:12 AM
Replace field with match or empty string? charlweed Library Management 2 03-29-2012 12:44 AM
Mathch a string while ignoring some character in that string? ElMiko Sigil 12 12-01-2011 10:05 PM
Free (Kindle/nook) Warman's U.S. Coins & Currency Field Guide by Arlyn G. Sieber arcadata Deals and Resources (No Self-Promotion or Affiliate Links) 1 06-27-2011 09:18 AM
Variable Search, Replace & Transfer to a new field flopis Library Management 10 03-09-2011 11:41 AM


All times are GMT -4. The time now is 06:43 PM.


MobileRead.com is a privately owned, operated and funded community.