Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- line = "CSIR-National Botanical Research Institute, Plant Transgenic Laboratory, U.P., India. Electronic address: [email protected]."
- match = re.search(r'/([A-Z][^\s,.]+[.]?\s[(]?)*(Hospital|University|Institute|Law School|School of|Academy)[^,\d]*(?=,|\d)/', line)
- print(match.group(0))
Add Comment
Please, Sign In to add comment