javascript - js regular matching problem
漂亮男人
漂亮男人 2017-05-31 10:42:07
0
2
803

I would like to ask you where I made a mistake. Why is there no "[b]php5[/b]" and "[b]php4[/b]" that I want?

漂亮男人
漂亮男人

reply all(2)
某草草
/(\[[a-z]\])(\w*)(\[\/[a-z]\])/g

Thank you everyone, I wrote it down

我想大声告诉你

/([[w]])(w*)([/[w]])/g Just finished writing, str.replace(re,function(str,$1,$2,$3){ return str;}) like this Write clearly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template