lundi 24 juin 2019

Search for pattern contained inside the same pattern

I am scanning a text document which it may contains the following patter : $someTitle(value , value )%% . So far so good I am able to extract that pattern from the text . Is there anyway using pattern and matcher to extract two patterns in the following case :

$someTitle($someTitle2(value, value)%% , value)%% .

The desired result would be : String 1 = $someTitle($someTitle2(value, value)%% , value)%% String 2 =$someTitle2(value, value)%%

Aucun commentaire:

Enregistrer un commentaire