A
Alpha
Hi guys, n00bs here.
I was playing around with regexp and got stuck with this:
$string ="String 12345 String 67890 String whatever here";
basically i want to strip off the last "String" and whatever that comes
after that.
so $string will become "String 12345 String 67890 ";
any hints will be appreciated.
Thanks,
Alpha
I was playing around with regexp and got stuck with this:
$string ="String 12345 String 67890 String whatever here";
basically i want to strip off the last "String" and whatever that comes
after that.
so $string will become "String 12345 String 67890 ";
any hints will be appreciated.
Thanks,
Alpha