我有這樣的數據集:(約10,000次)正則表達式,記事本+ +替換/刪除幾個值
<Id>HOW2SING</Id>
<PopularityRank>1</PopularityRank>
<Title><![CDATA[Superior Singing Method - Online Singing Course]]></Title>
<Description><![CDATA[High Quality Vocal Improvement Product With High Conversions. Online Singing Lessons Course Converts Like Crazy Using Content Packed Sales Video. You Make 75% On Every Sale Including Front End, Recurring, And 1-click Upsells!]]></Description>
<HasRecurringProducts>true</HasRecurringProducts>
<Gravity>45.9395</Gravity>
<PercentPerSale>74.0</PercentPerSale>
<PercentPerRebill>20.0</PercentPerRebill>
<AverageEarningsPerSale>74.9006</AverageEarningsPerSale>
<InitialEarningsPerSale>70.1943</InitialEarningsPerSale>
<TotalRebillAmt>16.1971</TotalRebillAmt>
<Referred>75.0</Referred>
<Commission>75</Commission>
<ActivateDate>2011-06-23</ActivateDate>
</Site>
我努力做到以下幾點:
從標籤中獲取數據,並使用它創建一個URL,所以在這個例子應該讓
http://www.reviews.how2sing.domain.com
還,其他所有數據已去,我想執行一個正則表達式的功能,將只是給我一個URLS列表。
我喜歡用記事本++做,但我吸吮在正則表達式,任何幫助將是welome
感謝您接受答案。如果您有興趣,我添加了更先進的正則表達式,可以一步完成。 – acarlon