Skip to content
Prev 295270 / 398502 Next

How to remove square brackets, etc. from address strings?

Hi Sabina,

You've run into two characteristics of regular expressions:
[ ] are special characters
* is a greedy match
Reading an intro regular expression document will help with both of those.

Meanwhile:
[1] "[Swidsinski, Alexander; Loening-Baucke, Vera; Lochs, Herbert]
Charite Humboldt Univ, Innere Klin, D-10098 Berlin, Germany; [Hale,
Laura P.] Duke Univ, Med Ctr, Dept Pathol, Durham, NC 27710 USA"
[1] "Charite Humboldt Univ, Innere Klin, D-10098 Berlin, Germany; Duke
Univ, Med Ctr, Dept Pathol, Durham, NC 27710 USA"

Sarah
On Tue, May 22, 2012 at 6:08 AM, Sabina Arndt <sabina.arndt at hotmail.de> wrote: