http://someurlhere.com|http://sometexturl.com|sometexthere
i want to extract only the first url which is before the | , http://someurlhere.com
i have written regular expression
\bhttp(.*)\|\b
but its capture all the occurences of |
Thanx help is appreciated