Text this: Intelligent Dynamic Trajectory Planning of UAVs: Addressing Unknown Environments and Intermittent Target Loss