Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXTRACT PROBLEM-Extract all till first number

Status
Not open for further replies.

PerlElvir

Technical User
Aug 23, 2005
68
How can I extract something till first numbrer?

example:


$link='can you help me 12'

So I need from this var 'can you help me' without number 12.

I need this as soon as posible :(
 
Code:
my ( $text ) = $original_string =~ /^(\D+)/;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top