Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 0.26 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How do I split this word using PHP?
  2. mathewthomas256
  3. alexcannon5623
  4. kohlanjame9568
  5. nancycherikom257
  6.        
  7. preg_replace("/d+$/gm", "", input)
  8.        
  9. $remove = array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9");
  10. $onlynames = str_replace($remove, "", "name here");