Skip to content

Instantly share code, notes, and snippets.

@Florencelg
Last active October 15, 2018 12:15
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 Florencelg/3a5de50c0faff437539124625b504fd7 to your computer and use it in GitHub Desktop.
Save Florencelg/3a5de50c0faff437539124625b504fd7 to your computer and use it in GitHub Desktop.
Quête Regex: les expressions régulières
/\b([A-Z])+\./gi permet de rechercher A.
/[0-9]{2}\/[0-9]{2}\/[0-9]{4}/ permet de rechercher 31/03/1999
/\b[0-9]\/[0-9]{2}\b/ permet de rechercher seulement 9/10
/[a-zA-Z]{14}/ permet de rechercher 14 caratères qui est Nebuchadnezzar
/\b[a-z]{5}\:\/\/[a-z]{3}\.[a-z]{4}\.[a-z]{3}\/[a-z]{5}\/\w{9}\b/ permet de rechercher https://www.imdb.com/title/tt0133093
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment