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

    Join Date
    Nov 2005
    Posts
    227
    Rep Power
    16

    Making wildcard * match a full word?


    hello!

    can anyone show me how to write this as a REGEX so that the wildcard * character matches an individual word? (a-zA-Z0-9)

    Code:
    wordtomatch * * *
    So with the example above my I'd want to match "wordtomatch" followed by 3 words.

    (trying to emulate google's "fill in the space" with wildcard feature).

    thanks
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,073
    Rep Power
    9398

IMN logo majestic logo threadwatch logo seochat tools logo