Sunday, September 08, 2019

Regex

between 0 and 500
^([01][0-9][0-9]|4[0-9][0-9]|500)$


Not
^((?![1-2-3]).)*$

No comments:

Post a Comment

Git get all remote branches

git branch -r \ | grep -v '\->' \ | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \ | while read remote; do \ git branc...