javascript判断字符串是否为url^http:[A-Za-z0-9]+.[A-Za-z0-9]+[=?%-&_~`@[]’:+!]*([^<>""])*$.test(‘你要判断字符串’)2023-03-09JavaScript240