多项选择题

var reg =____var str ="hello ";var newstr =str.replace(reg,’’);不能实现将str中的前导和后续空都去掉后打印hello的代码应该是?()

A.A
B.B
C.C
D.D