-3
$\begingroup$

Hi guys do you know how to change this regex, that it only looks for test :

$\endgroup$
1
$\begingroup$

You need to apply two regexes: first, get r'^test:.*$' with m option, then your original regex on the result of the first.

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.