i have a long string which contains a url. I want to extract that url from that particular string. Please help me.
ditty 0 Light Poster
Recommended Answers
Jump to Posti have a long string which contains a url. I want to extract that url from that particular string. Please help me.
Hi ditty....
U can extract by using this way....
1) by using EXPLODE function
2)by using SPLIT function...eg:
$url="
Jump to PostIf the string is in this format
aaaaaaaaaabbbbbbbbbbcccccmail@yahoo.comdddddddeeeeeeeffff
I don't think you can extract the email address, since you wouldn't know what is the exact part before @. If your string is as you stated above, ie.,
ssfihuihuiifhhdfhishfihfh jjjjjif ee@gg.com jfiosofjojofjjm ojofjojfc ojjofjojw
then …
All 8 Replies
ahmksssv 0 Junior Poster in Training
ditty 0 Light Poster
nav33n 472 Purple hazed! Team Colleague Featured Poster
ahmksssv 0 Junior Poster in Training
jpcodechef 0 Newbie Poster
jpcodechef 0 Newbie Poster
alanaktion 0 Newbie Poster
edussooriya 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.