I try replace author Full name with article title I have a list of articles, similar like this:
- Albershein P., Nevis D. J. A method for analysis of sugars in plant cell wall polysaccharides by gasliquid chromatography // J. Carbohydrate Research. – 1967. – Vol. 5, № 3. – Р. 340–345.
And I have Regex for it
(?'n1'^\d{3}\. )(?'n2'(?:(?:[A-ZА-Я][-a-zćа-я ]+)?([A-ZА-Я][-a-zćа-я]+\xA0[A-ZА-Я]\.(?:\xA0[A-ZА-Я]\.){0,2}\,?)(?: \[et al\])? ?)+)(?'n3' [^\/]+[\/]{2})
but replace like
\k{n1}
or
\k'n1'
doesnt work
we try this in perl but have the same result
\1
or$1
. Groupname would be \g<n1>,${n1}
in replace or maybe\k{n1}
,\g{n1}
but none seems to work in np++. – Schoolmistress$+{name}
on the replacement side, but it should be in the form of evals///eg
(not sure about the eval) – Eclogite^\[?(?<n1>\d{1,3}\.?)\]? (?<n2>((and )?(-?[A-Z]\. ?)+(de )?[A-Z][a-Z]+[,.] )+)(?<n3>.+)
Replace with:$+{n1} $+{n3} // $+{n2}
Output:23 Active learning for entity filtering in microblog streams. In Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR ’15, pages 975 978. ACM // D. Spina, M.-H. Peetz, and M. de Rijke.
– Rois