#!/usr/bin/perl use strict; use warnings; my $data = '<c:t="AD2343"/><c:p>65677676</c:p>'; if ($data =~ m@.*(<c:[^>]*/>).*@) { print("Match: [$1]\n"); }
In reply to Re: Regex match last
by Neighbour
in thread Regex match last
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |