Need help about substitute

Author Message
Steven 09/30/2009 08:27 am
How can I turn links like

http://magazine.caijing.com.cn/2009-09-27/110266177.html

into

magazine.caijing.com.cn/templates/inc/chargecontent2.jsp?id=110266177&time=2009-09-27&cl=106&page=all

(the variables are the date ****-**-** and number *********)

Oleg Chernavin 09/30/2009 08:29 am
URL:
*
Replace:
http://magazine.caijing.com.cn/**/*.html
With:
magazine.caijing.com.cn/templates/inc/chargecontent2.jsp?id=*&time=**&cl=106&page=all

Best regards,
Oleg Chernavin
MP Staff
Steven 09/30/2009 08:35 am
It never came to me like that before. Thank you so much! :)
Oleg Chernavin 09/30/2009 08:53 am
Yes, it is quite simple. ***, ** and * are variables. * should be the last one in the Replace field. ** should be before it. If you also use ***, it should be the first.

Oleg.