Regex replace Harvard style bibliography references \d{4}:\s\d+ with comma -


The Harvard Bibliography, if you do not use Mendeley on time, then it can be difficult.

  [Sehler 1999: 122; Trusk 2000: 164] [Benvanist 1935: 170-171, Benvinist 1955, Bohammad, Kern 1994: 56-59]  

The way I quote authors in my PhD I am wrong. It should contain : instead of , . Like

  [Sehler 1999, 122; Trusk 2000, 164]  \ d {4}: \ s \ d +  I can find them, but instead of  to change  : < In the word / code? Thank you. 

You need to use letterhead and hide or backtraffery.

I will probably have something like this: for example in php preg_replace ("~ (\ d {4}): (\ s \ d +) ~", "$ 1, $ 2 ", $ Str).

Here is a post that talks about backriration in JavaScript:


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -