Problems? Is your data what you think it is? | |
PerlMonks |
Regex. Combination of words block. Need help.by nickwest (Initiate) |
on Feb 09, 2020 at 10:37 UTC ( [id://11112671]=perlquestion: print w/replies, xml ) | Need Help?? |
nickwest has asked for the wisdom of the Perl Monks concerning the following question:
Hello, dear Monks.
$string = 'aaa, bbb, ccc,ddddd;eee-12345abc Qwerty'; I need to get an array which consist of
The word may consist [\w\-\/\_] The delimiter is \s+ or , or ; I think a decision should be like this @a = @string =~ /............../gi; Please help to complete the regexp.
Back to
Seekers of Perl Wisdom
|
|