<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>blockphp - 数据处理</title>
    <link>https://www.blockphp.com/forum-42-1.html</link>
    <description>Latest 20 threads of 数据处理</description>
    <copyright>Copyright(C) blockphp</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Tue, 05 May 2026 12:50:55 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.blockphp.com/static/image/common/logo_88_31.gif</url>
      <title>blockphp</title>
      <link>https://www.blockphp.com/</link>
    </image>
    <item>
      <title>【数据处理】正则匹配提取</title>
      <link>https://www.blockphp.com/thread-32-1-1.html</link>
      <description><![CDATA[正则表达式相关资料：https://www.blockphp.com/thread-41-1-1.html

例：从下面代码字符串提取链接
《---myCode-Html---》
011
011
011
《---myCode---》

分析链接中，红字色部分是固定的   https://www.blockphp.com/thread-36-1-1.html
蓝色部分是数字是变化的

应 ...]]></description>
      <category>数据处理</category>
      <author>admin</author>
      <pubDate>Thu, 20 Apr 2023 01:56:24 +0000</pubDate>
    </item>
    <item>
      <title>【数据处理】字符串拼接</title>
      <link>https://www.blockphp.com/thread-31-1-1.html</link>
      <description><![CDATA[例:采集到的字符串为以下代码
《---myCode-Html---》

123456
《---myCode---》

该代码中没有闭合标签
应此可以给他拼接一个 字符串



拼接后
《---myCode-Html---》

123456
《---myCode---》]]></description>
      <category>数据处理</category>
      <author>admin</author>
      <pubDate>Thu, 20 Apr 2023 01:55:56 +0000</pubDate>
    </item>
    <item>
      <title>【数据处理】内容替换</title>
      <link>https://www.blockphp.com/thread-30-1-1.html</link>
      <description><![CDATA[案例1： 字串替换
我想把李明 改成 小红《---myCode-Html---》
作者：李明
来源于XX网站，时间：2023-04-23
《---myCode---》


案例2：正则匹配 去除指定字符串
我想去除掉 来源于XX网站，时间：2023-04-23 这一串字符




 ...]]></description>
      <category>数据处理</category>
      <author>admin</author>
      <pubDate>Thu, 20 Apr 2023 01:55:33 +0000</pubDate>
    </item>
    <item>
      <title>【数据处理】图片自动下载并替换</title>
      <link>https://www.blockphp.com/thread-29-1-1.html</link>
      <description><![CDATA[当采集的内容中有图片，需要下载图片到自已的网站，就需要添加这个处理




重复的图片不会重复采集，删除帖子或删除采集到的数据，图片也会一并被删除，不会占用没必要的资源



 ...]]></description>
      <category>数据处理</category>
      <author>admin</author>
      <pubDate>Thu, 20 Apr 2023 01:54:15 +0000</pubDate>
    </item>
    <item>
      <title>【数据处理】字符串截取</title>
      <link>https://www.blockphp.com/thread-28-1-1.html</link>
      <description><![CDATA[例：采集到的代码为

《---myCode-Html---》
测试测试测试]]></description>
      <category>数据处理</category>
      <author>admin</author>
      <pubDate>Thu, 20 Apr 2023 01:53:24 +0000</pubDate>
    </item>
    <item>
      <title>【数据处理】滤html标签</title>
      <link>https://www.blockphp.com/thread-27-1-1.html</link>
      <description><![CDATA[例：采集到的标题中有html标签代码

《---myCode-Html---》
我是一个标题我被加粗了
《---myCode---》

 我想去除到字符串中的html b加粗标签 



过滤后为
《---myCode-Html---》
我是一个标题我被加粗了
《---myCode---》
 ...]]></description>
      <category>数据处理</category>
      <author>admin</author>
      <pubDate>Thu, 20 Apr 2023 01:51:00 +0000</pubDate>
    </item>
  </channel>
</rss>