I import RSS article feed into a mysql table.
in the article field i have few URL links inside it. in the mddle of the text that I imported.
For example (the URL are just for test…)
I need to add a suffix to the end of each URL links. the links are not the same. the links are from many domains. and the links are not the same! for example in on article the link is: http://www.XXXXX.co.il/sudent/?Stuid=18498 and in the second article is : http://www.???.co.il/sudent/?Stuid=sdsds3 and in the 3 article is: http://www.learn.com/exam/mid__43465.html or http://www.l???n.com/exam/mid_reading__p_14901.html
i can find the string that start with https://www.domain.com/??? but i dond know what are the ??? will be . i need to add the suffix in the en of the links. i know the link end wit " , so i need to add the suffix before the " and after the https://www.XXXXX.com/???
I need to add to each on of the link suffix ,each domain recived a diffrent suffix. Each day my uers adding many new records with url to this table without the suffix. and i need to add for them their suffix.
example for new urls:(please ignore the “_”)
http://www.111111.co.il/sudent/?Stuid=18498
http://www.111111.co.il/Product/aa-build-note-CD-Back-Blue.htm
http://www.222222.com/Product/mm-Style-In-phones-number.htm
http://www.22222.com/exam/mid_reading__p_14901.html
https://www_.3333.com/case/cart.html?action=_now&exame_id=14901
http://www.22222.com/calss/mi-reading-note-p-14901.html
i need to add suffix to each doamin at the end of the url for example : each suffix style is according to the domain. for www.study.co.il domain , need to add ?342343 for www.learn.com domain , need to add ?3das4sfs2343 for www.XXXX.com domain , need to add ?3das4sfs2343
do you have an idea how to make it work?``