Recent content by otakucon2001

  1. O

    Perl Regular Expression?

    Given this variable: $mystring = "000000009: I WAS EATING \(-21913584\)"; I want to grab only "I WAS EATING". How can I do this? ($mystring =~ m/(^d+)/) grabs the 000000009) (Reason I wanna use RegExp is because that variable changes)
  2. O

    Perl Regular Expression?

    Given this variable: $mystring = "000000009: I WAS EATING \(-21913584\)"; I want to grab only "I WAS EATING". How can I do this? ($mystring =~ m/(^d+)/) grabs the 000000009) (Reason I wanna use RegExp is because that variable changes)
  3. O

    Perl Regular Expression?

    Given this variable: $mystring = "000000009: I WAS EATING \(-21913584\)"; I want to grab only "I WAS EATING". How can I do this? ($mystring =~ m/(^d+)/) grabs the 000000009) (Reason I wanna use RegExp is because that variable changes)
Back
Top