The situation is like this. Recently, the target source website collected by Locomotive discovered that there are some special symbols in front of the titles of some articles on the other party's website!
Some of these special symbols are displayed in the title, for example: ❤♨, etc.~~
Some will not be displayed as shown in Figure 1 and Figure 2!
Those titles that can be displayed are fine~~As shown in Figure 1 and Figure 2, there will be a problem that there will be no title after publishing the article without logging in! ! !
That symbol is not just one or two! Using the replace function can only replace the symbols of the current title. Changing the title cannot replace it. There is no reference before and after, and the interception method cannot be used~
This thing bothers me very much! You can’t just collect articles and read every one of them! This is quite annoying! ! So here comes help!
I tried many methods but nothing worked! The day before yesterday I came across Chun Zheng Ze by accident and found that this can be removed!
But I’m new to this and can’t write yet! So here comes help!
My idea is to replace the first double-section character with pure regular expression~~ or replace the double-section character before the first Chinese character! !
Because I don’t know what kind of pure rules Locomotive supports! The only goals I know are this type [u4e00-u9fa5a-zA-Z]
Please ask the masters to give you some advice! Grateful!
The situation is like this. Recently, the target source website collected by Locomotive discovered that there are some special symbols in front of the titles of some articles on the other party's website!
Some of these special symbols are displayed in the title, for example: ❤♨, etc.~~
Some will not be displayed as shown in Figure 1 and Figure 2!
Those titles that can be displayed are fine~~As shown in Figure 1 and Figure 2, there will be a problem that there will be no title after publishing the article without logging in! ! !
That symbol is not just one or two! Using the replace function can only replace the symbols of the current title. Changing the title cannot replace it. There is no reference before and after, and the interception method cannot be used~
This thing bothers me very much! You can’t just collect articles and read every one of them! This is quite annoying! ! So here comes help!
I tried many methods but nothing worked! The day before yesterday, I came across Chun Zheng Ze by accident and found that this can be removed!
But I’m new to this and can’t write yet! So here comes help!
My idea is to replace the first double-section character with pure regular expression~~ or replace the double-section character before the first Chinese character! !
Because I don’t know what kind of pure rules Locomotive supports! The only goals I know are this type [u4e00-u9fa5a-zA-Z]
Please ask the masters to give you some advice! Grateful!