javascript - Help with regular expression writing
天蓬老师
天蓬老师 2017-06-15 09:23:30
0
1
825
<p ..属性...>&nbsp;&nbsp;&nbsp;  </p>
任意个&nbsp;,可能有空格,去掉这行

I really can’t write it
<pStart </p>End Then I won’t know how to do it
/^<p ( ) </p>$/ig

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
typecho
^<p[^>]*>( *&nbsp; *)+<\/p>$

http://regexr.com/3g5lk

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