image thumbnail

Scrape inline references

version 1.0.0 (1.52 KB) by Valerio Rubino
Extract all the inline references from a text

1 Download

Updated 14 Apr 2021

View License

When dealing with an essay that has not been written with a bibliography manager, it would help to be able to index all the inline references to complete the bibliography in the end.
This function gets, fed with a copied text, output a table containing the references.
While it is always better to use a bibliography manager (e.g. Zotero), this function provides a quick-and-dirty solution. Also, be careful because very inconsistent use of reference format yield to partial results.

Let me know if you have any ideas to make the regex formula more powerful :)

Cite As

Valerio Rubino (2021). Scrape inline references (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!