Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

REGEX solution for a URL

  •  11-15-2007, 4:26 AM

    REGEX solution for a URL

    Hi All,

    I am trying to find out a regex pattern for a particular URL type, to extract a particular piece of information from that URL.

    I am working on JAVA and the URL sample goes like this

    lid={ifpdf:92000000000012345}{ifnonpdf:33000000000012345}&cadid=12345} 

    I am trying to search for the italicized part of the URL "ifpdf:92000000000012345" This number is to be parsed out from such a URL pattern.

     Can soemone please suggest me some solution of what combination of regex constructs i need to use.

     I have constructed a similar one but little different which is working fine but this one i am unable to make.

    Any help in this direction is much appreciated..

     

    Thanks

    Kedar

    Filed under: , , ,
View Complete Thread