<script>
let str = "a@b@c@d"
let result = str.split("@")
str = "孙悟空abc猪八戒adc沙和尚"
result = str.split(/a[bd]c/)
str =
"dajsdh13715678903jasdlakdkjg13457890657djashdjka13811678908sdadadasd"
result = str.search("abc")
result = str.search(/1[3-9]\d{9}/)
result = str.replace(/1[3-9]\d{9}/g, "哈哈哈")
result = str.match(/1[3-9]\d{9}/g)
result = str.matchAll(/1[3-9](\d{9})/g)
for(let item of result){
console.log(item)
}
</script>