
30.07.2009, 18:15
|
|
Динозавр
Регистрация: 10.01.2008
Сообщений: 2,841
Провел на форуме: 9220514
Репутация:
3338
|
|
Код:
<script type="text/javascript">
var testString = 'text="qwerty-43-uiopasd-14-fgh-21-jklzxcvbnm";';
var re=/-([0-9]+)-/g;
while (matches = re.exec(testString)) {
document.write(matches[1]+"<br>");
}
</script>
|
|
|