> On 16 Jan 2018, at 09:46, ToddAndMargo <toddandma...@zoho.com> wrote: > I want to match the next two character (don't care what > they are) in the following > > I will use ?? for the next two character, but that doesn't work > $x ~~ m/.*?(sd??).*/; > > I want $0 to include the "sd" and the next two characters, whatever > they are.
$x ~~ m/ (sd..) /; . stands for any character Liz