On 01/16/2018 12:57 AM, Elizabeth Mattijsen wrote:

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



Thank you!


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to