Skip to content

Instantly share code, notes, and snippets.

@alperozaydin
Created July 13, 2018 12:52
Show Gist options
  • Save alperozaydin/228d03979835ca900da5a294f420ed78 to your computer and use it in GitHub Desktop.
Save alperozaydin/228d03979835ca900da5a294f420ed78 to your computer and use it in GitHub Desktop.
references
paper = "this is reference 2"
references = "this is reference, this is reference 2, this is reference 3"
references = references.split(",")
for elem in references:
if elem.strip() == paper:
print elem.strip()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment