Some Wildcard Expressions for Reference Lists
For working with reference lists
Find a line with no period at the end, insert period.
([!.])^13
\1.^p
Reverse the two words of an author’s name if ending in a comma. Add period.
^13(<*>) (<*>),
^p\2, \1.
Search for a date (just the year) which does not have a full stop after it.
([0-9]{4})
Search for an initial letter in the author name (style: ‘Surname, N’)which does not have a full stop after it
^13<*>, [A-Z] [0-9]
Remove a extraneous initial, adding a space and brackets: Thus Annis, M. B.1988 to Annis, M. (1988).
^13(<*>), ([A-Z]). ([A-Z]).([0-9]{4}),
^p\1, \2. (\4).
If there is only one initial (Annis, M.1988, to Annis, M. (1988). )
^13(<*>), ([A-Z]).([0-9]{4}),
^p\1, \2. (\3).
For two-word names (firstname surname) that begin a new line (i.e. after format/paragraph marker) and end with a period: reverse order and initialize first name.
^13<([A-z])(*)> (<*>).
^p\3, \1.
Find round brackets expression and replace with square brackets
\((*)\)
[\1]
For other expressions click here.
For advice on how to use these click here.
Leave a Reply