Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
267 B
3
Indexable
Never
var str = "git push https://oauth2:5e13c6663b1d5394b55f0d3c0ba5b51b533246c241f9bbaa13ecc6c9bdc5da21@home.anavrin72.ru/gitlab/systems/mto/backend/asdasdasdasdas.git";
var result = Regex.Replace(str, "(?<="+ Regex.Escape("https://oauth2:") +")[0-9a-z]+(?=\@)", "hui");