develooper Front page | perl.beginners | Postings from December 2002

Reg ex help!

Thread Next
Johnstone, Colin
December 19, 2002 16:55
Reg ex help!
Message ID:
Gidday All,
Im reading course names in from a text file and want to remove the course number from the end of each course name. Can someone help me with the regex to do this.
e.g Mathematics 2 unit (15240)
to give me Mathematics 2 unit

Thanking you in anticipation.

Colin Johnstone 
Website Project Officer 
Corporate Website Unit 
Public Affairs Directorate 
ph 9561 8643 


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About