I have the following string
A1=<m,n>:<p,q>:<s,t>...go on
I have to extract values m,n,p,q,s,t from the above string. How do i do it?.
You could use m// to match them:
#!/usr/bin/env perl use strictures; my @v = 'A1=<m,n>:<p,q>:<s,t>...go on' =~ /[mnpqst]/g;
In reply to Re: Extraction of letters from a string
by hippo
in thread Extraction of numbers in an string
by t-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |