regex help

bill

Client
Регистрация
05.07.2014
Сообщения
355
Благодарностей
9
Баллы
18
So say i wanted to created a regex that,but one part of the value is constantly alternating. Here's a example of the values:

1371210_textResponse
9832210_textResponse
5973210_textResponse
0972110_textResponse


so as you can see the first part of the value changes, but the second part remains stable. How can I write the regex so it work for any random number in the first part of the above values?
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
  • Спасибо
Реакции: bill

bill

Client
Регистрация
05.07.2014
Сообщения
355
Благодарностей
9
Баллы
18
Thanks again Tobbe,

How would I reverse it? for example: TextResponse_0972110
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
upload_2016-8-1_15-54-10.png
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)