Advertisement
kalovski

Untitled

Dec 6th, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ^[^\s]*$ matches exactly 1-word keyword
  2. ^[^\s]*\s[^\s]*$ matches exactly 2-word keyword
  3. ^[^\s]*\s[^\s]* matches keywords of at least 2 words (2 and more)
  4. ^([^\s]*\s){2}[^\s]*$ matches exactly 3-word keyword
  5. ^([^\s]*\s){4}[^\s]*$ matches 5-words-and-more keywords (longtail)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement