Remove period after URL
I am customising an existing csl file, below is an example journal article reference.
Author A.2019.Assessing the role of off-take and source-sink dynamics in the extinction of the amphidromous New Zealand grayling (Prototroctes oxyrhynchus).Freshwater Biology.64(10):1747–1754. https://doi.org/10.1111/fwb.13366.
It all looks good, but I want to remove the final period, but only if the reference finishes with a url.So the above would become:
Author A.2019.Assessing the role of off-take and source-sink dynamics in the extinction of the amphidromous New Zealand grayling (Prototroctes oxyrhynchus).Freshwater Biology.64(10):1747–1754. https://doi.org/10.1111/fwb.13366
But other references which don't end in a url would maintain the final period, e.g.:
Author A.2021.Spatially structured ecosystems, connectivity and movement.In: Author B, editors.The Routledge Handbook of Landscape Ecology.London: Taylor & Francis!p.91–117.
Any advice would be much appreciated.
Author A.2019.Assessing the role of off-take and source-sink dynamics in the extinction of the amphidromous New Zealand grayling (Prototroctes oxyrhynchus).Freshwater Biology.64(10):1747–1754. https://doi.org/10.1111/fwb.13366.
It all looks good, but I want to remove the final period, but only if the reference finishes with a url.So the above would become:
Author A.2019.Assessing the role of off-take and source-sink dynamics in the extinction of the amphidromous New Zealand grayling (Prototroctes oxyrhynchus).Freshwater Biology.64(10):1747–1754. https://doi.org/10.1111/fwb.13366
But other references which don't end in a url would maintain the final period, e.g.:
Author A.2021.Spatially structured ecosystems, connectivity and movement.In: Author B, editors.The Routledge Handbook of Landscape Ecology.London: Taylor & Francis!p.91–117.
Any advice would be much appreciated.
Thank you for your help.
(next time please share your whole code, easier for us to help)