Soldato
- Joined
- 24 Nov 2002
- Posts
- 16,378
- Location
- 38.744281°N 104.846806°W
I'm trying to use regular expressions within Ruby to tidy up some citations.
e.g. Going from:
That is only one example, but they're usually of the same syntax/format.
Any pointers?
For instance, if the 'phrase' contains a . (so is an initial) chuck it out and so on..
e.g. Going from:
to:ALTUVIA, S., LOCKER-GILADI, H., KOBY, S., BEN-NUN, O. AND OPPENHEIM, A.B. RNase III stimulates the translation of the cIII gene of bacteriophage lambda. PROC.NATL.ACAD.SCI.U.S.A. 84 6511-6515 (1987).
ALTUVIA LOCKER-GILADI KOBY BEN-NUN OPPENHEIM RNase III stimulates the translation of the cIII gene of bacteriophage lambda
That is only one example, but they're usually of the same syntax/format.
Any pointers?
For instance, if the 'phrase' contains a . (so is an initial) chuck it out and so on..
Last edited: