User:Panamitsu/regex

Any variety
This finds a date with any variety. It is a combination of the three following regexes.

International
(Allows one digit instead of just two)

LINZ Gazetteer
Note: This is only for the citations autogenerated by the visual editor.

The groups are as follows: (1) Feature ID, (2) year, (3) month number, (4) day of month. These can then be used in AutoWikiBrowser to convert to a LINZ template using dmy dates (or another variation).

AWB replacement
NOTE: The feature name will get lost.

TODO: Convert to dmy dates