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

    Join Date
    May 2006
    Posts
    21
    Rep Power
    0

    .Net find string after a string


    I am a noob when it comes to regex...but i know i am dealing with .net regex. These are the two separate regex expressions i need...

    I am trying to find the string (without quotes) "192.168.0." after the string "00-1A-70-DD-67-21" in multi-line text

    I am also trying to find a way to search a multi-line text for (without quotes) "192.168.0." and fail if the resulting occurrences are greater than 4.

    Anyone know what i am looking for?
  2. #2
  3. No Profile Picture
    User 165270
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Posts
    497
    Rep Power
    937
    Originally Posted by y3468
    ...

    Anyone know what i am looking for?
    No, I don't.
    Perhaps I or someone else can help if you properly explain your problem instead of giving just a single example without any more explanation of your "real" data.

    Good luck.

IMN logo majestic logo threadwatch logo seochat tools logo