Reputation: 1621
I am trying to use regular expressions to find part of a string from a string,
So say for example my string is:
string = "Hello my name is carl how are you doing?";
And I want to match the name "carl", how would I go about doing that?
This is what I have got,
.*?(?=\show)
My problem is NOT matching the text "Hello my name is "
Cheers
Carl
Upvotes: 0
Views: 52