wordsoap-regex:用于清理 Microsoft Word 脏 HTML 输出的正则表达式

时间:2021-07-07 21:24:17
【文件属性】:
文件名称:wordsoap-regex:用于清理 Microsoft Word 脏 HTML 输出的正则表达式
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-07 21:24:17
JavaScript wordsoap-regex 用于清理 Microsoft Word 脏 HTML 输出的正则表达式。 module . exports = { // from http://tim.mackey.ie/CleanWordHTMLUsingRegularExpressions.aspx msoTags : / < [ \/ ] ? ( font | span | xml | del | ins | [ ovwxp ] : \w + ) [ ^> ] * ?> / , msoAttributes : / < ( [ ^> ] * ) (?: class | lang | style | size | face | [ ovwxp ] : \w + ) = (?: ' [ ^' ] * ' | "" [ ^"" ] * "" | [ ^ \s > ] + ) ( [ ^> ] *
【文件预览】:
wordsoap-regex-master
----.jshintrc(313B)
----.gitignore(13B)
----package.json(760B)
----.travis.yml(38B)
----index.js(278B)
----license(805B)
----readme.md(670B)
----.gitattributes(12B)
----test()
--------spec.js(82B)
----.editorconfig(196B)

网友评论