This is totally untested off the top of my head, but I think you need something like this
In
item.author.name
replace
^([^\(]*)\s*\(.*\)$
with
$1
Note the regular expression breaks down as follows
^ Match at the start of the string
( Start Capture Group 1
[^\(]* Zero or more * characters that are NOT ^ a literal bracket \(
) End Capture Group 1
\s* Zero or more whitespace characters
\( Literal open bracket
.* Zero or more characters
\) Literal close bracket
$ End of string
You may well need to fiddle a bit, as I say I haven't tested this!
Hi Scott,
This is totally untested off the top of my head, but I think you need something like this
In
item.author.name
replace
^([^\(]*)\s*\(.*\)$
with
$1
Note the regular expression breaks down as follows
^ Match at the start of the string
( Start Capture Group 1
[^\(]* Zero or more * characters that are NOT ^ a literal bracket \(
) End Capture Group 1
\s* Zero or more whitespace characters
\( Literal open bracket
.* Zero or more characters
\) Literal close bracket
$ End of string
You may well need to fiddle a bit, as I say I haven't tested this!
Good luck,
Day