![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 8300
Join Date: Apr 2013
Location: France
Device: Kobo glo, Apple devices
|
About a regex research
I do not understand regular expressions yet. But someone might be able to tell me how to build one.
goal: find in all text in "ebook Edit" in Calibre such strings in order to delete them. <a id="page_9" class="calibre2"></a> In which the number in red could be any numbers from 1 to 500 or even more. Thanks for your help. ![]() Is there an online tool or Mac software that can help in building regular expressions from examples of what one want to select ? It would be great! Last edited by Frenchdummy; 07-23-2016 at 03:51 PM. Reason: Maybee a software for Dummy |
![]() |
![]() |
![]() |
#2 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
It has a couple of utilities, RegExMagic and RegExBuddy, that some people find useful. You should be able to remove those tags with this Editor plugin ==>> Diaps Editing Toolbag BR |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
replace the digit (keeping the rest) with
Code:
\d+ eg' 5.23 is not 3 digits 'together' Code:
\d\.\d+ REGEX can be fun ![]() |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 8300
Join Date: Apr 2013
Location: France
Device: Kobo glo, Apple devices
|
What a time saver for research in Calibre! provided one knows where to put such a request. The Calibre Editor in French deserves a review: Thus REGEX research is "Expression rationnelle" which is not easily interpretable by French.
The manual in French is only speaking Functions, if I'm not mistaken and this is downright impressive. But it's really for programmers. Off Topic: On top of that,
|
![]() |
![]() |
![]() |
#5 | |||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
See ==>> calibre - Get Involved: Contributing translations to calibre. It's quite easy to make adjustments. "Regular Expression" is a technical term used in Computing (English) with a specific meaning relating to searching of text. The literal meaning of the two words is best ignored, it is a 'label'. It could have been labelled as "Kleene filter", seeing as the inventor of the technique was Stephen Kleene. Perhaps "Expression rationnelle" is used Computing (French) rather than a more literal translation such as "Expression régulière". You'd need to ask a French speaking Computing guru. Also see [Tutorial] All about using regular expressions in calibre Quote:
BR Last edited by BetterRed; 07-24-2016 at 08:45 PM. |
|||
![]() |
![]() |
Advert | |
|
![]() |
Tags |
regexp |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need research help | Harper Kingsley | Writers' Corner | 2 | 01-25-2012 11:09 PM |
Reading for Research | Telly | Which one should I buy? | 13 | 11-03-2010 11:46 PM |
iLiad using iLiad for research? | Matt | iRex Developer's Corner | 62 | 12-14-2009 11:40 PM |
Research | Rudi Chendra | Writers' Corner | 1 | 06-23-2009 07:38 AM |
Anyone want to help me out with a little research? | PorterHarbold | Lounge | 2 | 10-24-2008 03:52 AM |