A St. Petersburg man has been arrested after police say he discussed plans online to kidnap, sexually assault, and murder a child.