var str1 = "hello hello [#[#hello]#] [#[#hi]#] [#[#welcome]#]"
var arr = textToPost.match(/#^[a-zA-Z0-9]/g)
i want to extract string which matches this pattren [#[# * ]#] .
Aucun commentaire:
Enregistrer un commentaire