Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I need to remove some part from a line. The line is ::$line = U.S. abc xyz , newyork, USA, Feb. 2-4 $line =pqr ffg , Long Beach, california, Sep. 12-14 $line = Hello , St. Louis, Missouri, Mar. 29-31 $line = hello, How are u I need to remove the last part from the string which contains month information using a general regular expression, which is suitable for all the lines and the line which doesn't have any month information should remain as it is. In reply to Removing some part of string by Shaveta_Chawla
|
|