How regular expressions match spaces, [], ()

The range of

characters is text, letters, numbers and "(", ")", "[", "]", "space"; how should the rule of up to 20 words be written


that's about it, 0-20

/^[A-Z|a-z|0-9|\s|\(|\)|\|\|\u4e00-\u9fa5]{0,20}$/
// 
/^[A-Z|a-z|0-9|\s|\|\|\|\|\u4e00-\u9fa5]{0,20}$/

^[\u4E00-\u9FA5a-zA-Z0-9() ]{0,20}$

// 
/^[a-z\d\s()\u4e00-\u9fa5]{0,20}$/i
Menu