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

    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0

    Need regex for populating username urgently


    Hi, I work on logs and hence require a common regex for the below cases:

    timwillis)@(Students):
    (Guest))@(Students)'
    '(kevin figment)@(Students)'

    I need a common regex to display any of the above usernames
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2012
    Posts
    833
    Rep Power
    496
    Maybe something like this:

    Code:
    /\([^)]+\)\@\([^)]+\)/
    Last edited by Laurent_R; November 22nd, 2012 at 01:14 AM.

IMN logo majestic logo threadwatch logo seochat tools logo