That could be very tricky. You need to be able to identify the header based on some criteria. For example, does it always appear in the same place? If so, you can use the quads of the words to locate it. Or if it always follows or is preceded by certain text then you can look for that. Or even looking at the size of the words is possible (again, using quads). These are not trivial tasks, though, and require quite a bit of scripting knowledge...