Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

URL Address

Hi,

Please help me with idea.

I have different website' urls like this http://www.name.org/site/lookup.asp?c=9iLOK7PJKfI2G&b=6229577.

I want to keep only name.org.

I replace in load scrypt

Replace(Replace(Replace(Replace(Replace(SITE, 'http://',''),'http:/',''),'http:www.',''),'https://',''), 'www.','')  as ...

I get name.org/site/lookup.asp?c=9iLOK7PJKfI2G&b=6229577

How can I replace or remove other info after org?

Thanks,

25 Replies
MayilVahanan

Hi

     Please check the attached file..Is one of the way to achieve your requirement

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Anonymous
Not applicable
Author

I don't understand why when I load my data, I got URL address_NUMBER/_NUMBER?

Double numbers

MayilVahanan

Hi

     Did u try like as mentioned?

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Anonymous
Not applicable
Author

Yes, I copied it even.

it works, but with duble numbers.

MayilVahanan

Hi

Can you post your file?

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Anonymous
Not applicable
Author

I load data from csv format. Maybe it's problem?

Anonymous
Not applicable
Author

Please see my attached file.

MayilVahanan

Hi

     Try like this..

     Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Anonymous
Not applicable
Author

No, I lost many URL

They have the same URL, but different NUMBERS.

MayilVahanan

HI

Check this . Let me know whether its correct or not

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.