Searches recursively for the first text occurrence and wraps it with a given class name