Код: Выделить всё
string = "hello12345";
re = "([a-z]+[0-9]+)(@7)(.+)";
// Match: ["hello12","345"]
Подробнее здесь: https://stackoverflow.com/questions/786 ... ng-c-regex
Код: Выделить всё
string = "hello12345";
re = "([a-z]+[0-9]+)(@7)(.+)";
// Match: ["hello12","345"]