J joel Новичок Регистрация 09.11.2017 Сообщения 22 Благодарностей 0 Баллы 1 15.11.2017 #1 Hi How to select elements that do NOT match a word. Exemple: every links that do NOT match "nofollow" ?
Hi How to select elements that do NOT match a word. Exemple: every links that do NOT match "nofollow" ?
arhip1985 Client Регистрация 31.10.2011 Сообщения 2 994 Благодарностей 787 Баллы 113 15.11.2017 #2 when you find tag a , find by innerhtml with regex [^(nofollow)] Реакции: joel
J joel Новичок Регистрация 09.11.2017 Сообщения 22 Благодарностей 0 Баллы 1 15.11.2017 #3 perfect; thank you Arhip!
J joel Новичок Регистрация 09.11.2017 Сообщения 22 Благодарностей 0 Баллы 1 15.11.2017 #4 Tested, it does not work.. not as expected. It is a valid regular, but not acting as expected...
drvosjeca Client Регистрация 26.10.2011 Сообщения 512 Благодарностей 455 Баллы 63 19.11.2017 #5 why dont you just extract them all to table if you dont know how to do it other way, and then match and check one by one which is fast, or regex them again all together and you are done?
why dont you just extract them all to table if you dont know how to do it other way, and then match and check one by one which is fast, or regex them again all together and you are done?
J joel Новичок Регистрация 09.11.2017 Сообщения 22 Благодарностей 0 Баллы 1 20.11.2017 #6 @drvosjeca, your right A "noregex" filter method would be welcome .
drvosjeca Client Регистрация 26.10.2011 Сообщения 512 Благодарностей 455 Баллы 63 20.11.2017 #7 regex is needed no matter which way you choose... you need it to filter out only data you need, so you get clean lines
regex is needed no matter which way you choose... you need it to filter out only data you need, so you get clean lines