Y
Y
ywitodenasuby2018-11-18 18:23:06
Java
ywitodenasuby, 2018-11-18 18:23:06

Problem with regular expression in Java?

Hi all. Help, please, with regularity. I wrote how I do it in PHP, but in Java I don’t understand what I’m doing wrong, it doesn’t work. =====>>> MY CODE <<<<<====. The problem is that you need to extract data from several lines with one regular expression. I need tokens and these "deactivateme[0-9]+" values.

<a id="deactivate528627976" href="#"
                   data-created-at="2018-05-07 14:45:43"
                   data-token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhZElEIjoiNTI4NjI3OTc2IiwiZXhwIjoxNTQyNTM3MjA5fQ.aMHANLHoR2DxnOyXy2wcQCj2FFUrmayQqxqQuYYmmXQ"
                   title="Деактивировать"                 class="tdnone marginright5 nowrap remove-link globalAction deactivateme
                deactivateme528627976                {code:'deactivateme'} forsale">
                <i data-icon="remove" class="vmiddle"></i>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question