Created
January 30, 2014 08:41
-
-
Save jgdoncel/dd72bd6de33d9c43612f to your computer and use it in GitHub Desktop.
Expresiones regulares
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Eliminar caracterse no alfanuméricos de una cadena | |
preg_replace("/[^A-Za-z0-9]/", '', $string); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment