Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created April 7, 2018 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/b70deb23de8bb4e462f807141105304b to your computer and use it in GitHub Desktop.
Save Fhernd/b70deb23de8bb4e462f807141105304b to your computer and use it in GitHub Desktop.
Separación de las partes de una cadena. OrtizOL.
import re
contenido = 'Python x86; Multiparadigma, Interpretado,Modular, x64'
partes_contenido = re.split(r'[;,\s]\s*', contenido)
print(partes_contenido)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment