Creating custom tags

Hi, I want to parse a pdf document which I have read with the Tika Parser. I converted the column content to document and want to extract now different tags like this:

#RaTopic string

#RaTeamMember list of string

#RaStartDate date

#RaQFeedback bool

#RaLocation enum

Typically, the text contains Tags in this format: #Tag: “Tag Content” if it is of type string, date, enum or in the case of bool only the tag is mentioned

How can I quickly parse that?