Thread
:
Remove ( ) & everything between
View Single Post
12-28-2012, 03:46 AM
#
2
Adoby
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
Since parentheses has a special meaning in RegExps, you have to escape them using backslashes to match them:
\(.*\)
A full match could be:
(.*) \((.*)\)
\1 = Title
\2 = Publisher
See:
https://www.mobileread.com/forums/sho....php?p=2242243
Last edited by Adoby; 12-28-2012 at
03:48 AM
.
Adoby
View Public Profile
Find More Posts by Adoby
Track Posts by Adoby via RSS