Skip to content

Instantly share code, notes, and snippets.

@Jules59
Last active April 9, 2018 09:40
Show Gist options
  • Save Jules59/6c8ed39d22bf3b2d0a05e6ce88f6d25e to your computer and use it in GitHub Desktop.
Save Jules59/6c8ed39d22bf3b2d0a05e6ce88f6d25e to your computer and use it in GitHub Desktop.
regex
/La/g = La
/([0-9]{2})\/([0-9]{2})\/([0-9]{4})/g = 04/09/2017
/[ ][0-9]{1}\/[0-9]{2}/g = 9/10
/format[a-z]*/g = format(...)
/(\((.*?)\))/g = prend les "()" plus le texte à l'interieur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment