#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2007
    Posts
    76
    Rep Power
    8

    Regular_expression creation


    Dear friends
    New in field of Regular_expression

    i want to find a string which contain this two things.
    1) its should contain 'index.php?' at the start of string
    2) it should contain article_id in string

    Please help me how i can do it using Regular_expression

    Thanks
    In advance
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2011
    Posts
    7
    Rep Power
    0
    Hello, i just don't know few things -

    1. full string to match (index.php?article_id=123 - right page) ?
    2. whats programming language you use - i dont know - so just giving you the regexp itself.

    '/index.php\?article_id\=(.*?)/'

IMN logo majestic logo threadwatch logo seochat tools logo