def remove_hairs_from_tags(dom):
transform_content(<EOL>dom.match("<STR_LIT>", "<STR_LIT>", "<STR_LIT>"),<EOL>lambda x: remove_hairs(x.getContent())<EOL>)<EOL>transform_content(<EOL>dom.match(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>["<STR_LIT>", {"<STR_LIT:type>": "<STR_LIT:text>"}]<EOL>),<EOL>lambda x: remove_hairs(x.getContent())<EOL>)<EOL>
Use :func:`.remove_hairs` to some of the tags:

    - mods:title
    - mods:placeTerm