- Регистрация
- 16.09.2011
- Сообщения
- 365
- Благодарностей
- 10
- Баллы
- 18
I cant just do replace because the content within the string will change.
I finally found out a convouted regex for the pinterest follow and unfollow so I cna use for a logic swtich but to get only the button for the specific user requires it to grab alot of unwanted text which will be chaigng every time.
So how do I regex to ignore all text that I don;t want.
I was looking online but it was only showing stuff to ignore specific characters which is no good since it wil be many chaigng characters all the time.
So for example in the sentence: "This is a sentence."
How could I for instance ignore "is a" so regex would only pickup "This sentence" bearing in mind the words "is a" will change all the time never knowing what those words would be.
I finally found out a convouted regex for the pinterest follow and unfollow so I cna use for a logic swtich but to get only the button for the specific user requires it to grab alot of unwanted text which will be chaigng every time.
So how do I regex to ignore all text that I don;t want.
I was looking online but it was only showing stuff to ignore specific characters which is no good since it wil be many chaigng characters all the time.
So for example in the sentence: "This is a sentence."
How could I for instance ignore "is a" so regex would only pickup "This sentence" bearing in mind the words "is a" will change all the time never knowing what those words would be.
Последнее редактирование: