Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
weight gain
4;T;X;15;O20;O26.0;O26.0;O260;Excessive weight gain in pregnancy;242;U +NDEF;UNDEF;2-067;1-089 4;T;X;15;O20;O26.1;O26.1;O261;Low weight gain in pregnancy;242;UNDEF;U +NDEF;2-067;1-089
if($big_string=~/$small_string/) {print "Found match\n";}
from the afore-mentioned "big strings". any hints on how to do that?Excessive weight gain in pregnancy Low weight gain in pregnancy
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I remove unwated parts of a string in a pattern match?
by choroba (Cardinal) on Dec 14, 2015 at 11:58 UTC | |
|
Re: How can I remove unwated parts of a string in a pattern match?
by Anonymous Monk on Dec 14, 2015 at 12:37 UTC | |
by Laurent_R (Canon) on Dec 14, 2015 at 18:50 UTC |