SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2001
    Location
    Canada
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Basicly I'm trying to make a retrictive input search box
    where the user can input more then on keyword. Each
    keyword is seperated by white space. Keywords are
    only allowed to contain letters.

    For example:
    1. php java mysql
    2. php
    3. java mysql


    Thank you in advance!!!

  2. #2
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $pat = "([A-Za-z0-9]+\s)*";
    Just think from the top of my head, so might not work properly
    - Son Nguyen
    AdSpeed.com - Ad Serving and Ad Management Made Easy


Bookmarks

Posting Permissions

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