This is the string I want to process.(At least one of the underlined parts. The last part is never underlined )
'_A._B._C._D._F.f'`
I expected
["A", "B", "C", "D", "F", "f"]
How to achieve the same effect by regularity, I tried, but can't loop the same format part.
new RegExp('^[(_(.+)\\.)]+(.+)$')