Railway power flow controller (RPFC), as a promising technical route for railway power regulation, its rating determinization and the related flexible power regulation perplex designers and hinder large-scale applications, especially when the regenerative braking energy (RBE) is non-negligible. In this paper, a general power factors full-dimensionally hunted power distribution strategy (PFFDH-PDS), applicable for both off-line design & real-time control, is proposed. Two key methods are developed: 1) Full-dimensionally hunting the power factors (PFs) under the developed mathematic framework, from which the global optimal compensating power and RPFC's rating can be worked out; 2) Precisely partitioning two-phase loads on their PF-P and PF-PF distributing panels; in both methods, RBE is considered. By adopting PFFDH-PDS, RPFC's rating can be reduced by almost 60% compared to the conventional method, while the system has satisfactory grid-connection compatibility. Finally, the effectiveness and performance of the proposal are verified & conducted by real-measured data.