06-02-2013, 06:48 PM | #226 |
Grand Sorcerer
Posts: 12,707
Karma: 75000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
06-02-2013, 06:51 PM | #227 |
Member
Posts: 24
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
YES!
|
Advert | |
|
06-02-2013, 06:58 PM | #228 |
Groupie
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
|
06-02-2013, 07:06 PM | #229 |
Grand Sorcerer
Posts: 12,707
Karma: 75000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
And I was on http://www.regular-expressions.info/charclass.html
|
06-03-2013, 01:24 PM | #230 |
Connoisseur
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
|
Can someone give me the regex for the following to be replaced with nothing, there are several lines with the similar text & numbers layout but different to be replaced
#EXTINF:274,Johnny's Not Here /share/Public/04 Music/Love & Money - (2005) Dogs in The Traffic/ Cheers |
Advert | |
|
06-03-2013, 02:15 PM | #231 | |
Well trained by Cats
Posts: 30,439
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
06-03-2013, 02:31 PM | #232 | |
Connoisseur
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
|
Quote:
Thanks |
|
06-03-2013, 02:36 PM | #233 |
Well trained by Cats
Posts: 30,439
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Cheat
Paste the sample in Sigil and generate the tokened version |
06-03-2013, 02:40 PM | #234 |
Well trained by Cats
Posts: 30,439
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Code:
#EXTINF:\d+,.+\s+.+ |
06-03-2013, 02:49 PM | #235 |
Connoisseur
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
|
That works great but there is some text after the last / that I want to keep
Search #EXTINF:274,Johnny's Not Here /share/Public/04 Music/Love & Money - (2005) Dogs in The Traffic/02 Love And Money - Johnny's Not Here.mp3 But keep the last bit 02 Love And Money - Johnny's Not Here.mp3 I thought that there would be some regex that would delete all the text, characters & digits up to the last / Sorry to all for going off track from sigil |
06-03-2013, 02:53 PM | #236 |
Well trained by Cats
Posts: 30,439
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
just add a \\ <space> to the end
(escaped \ and a space) |
06-03-2013, 03:07 PM | #237 |
Connoisseur
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
|
|
06-03-2013, 03:24 PM | #238 |
Connoisseur
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
|
Using this
#EXTINF:\d+,.+\s+.+\ leaves me the last [word.mp3] Example From #EXTINF:274,Johnny's Not Here /share/Public/04 Music/Love & Money - (2005) Dogs in The Traffic/02 Love And Money - Johnny's Not Here.mp3 To Here.mp3 |
06-03-2013, 05:30 PM | #239 |
Groupie
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
|
06-03-2013, 05:46 PM | #240 |
Connoisseur
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Examples of Subgroups | emonti8384 | Lounge | 32 | 02-26-2011 06:00 PM |
Accessories Pen examples | Gunnerp245 | enTourage Archive | 15 | 02-21-2011 03:23 PM |
Stylesheet examples? | Skitzman69 | Sigil | 15 | 09-24-2010 08:24 PM |
Examples | kafkaesque1978 | iRiver Story | 1 | 07-26-2010 03:49 PM |
Looking for examples of typos in eBooks | Tonycole | General Discussions | 1 | 05-05-2010 04:23 AM |