i have a batch of Smarty files that i need to extract strings from, the 2 formats i need to extract from are :
format 1 : {lang mkey='some_str'}
format 2 : {lang skey='some_other_str'}
i need the output to be :
some_str
some_other_str
i’m using php, thanks in advance, sorry for the newbie question but i’m very new with regex.
EDIT: Because apparently sometimes non-greedy matching is needed on the sample data…