tags:

views:

40

answers:

1

I am looking to find anything that matches this pattern, the beginning word will be:

organism aogikgoi egopetkgeopt foprkgeroptk 13

So anything that starts with organism needs to be found using regex.

+2  A: 

^organism will match anything starting with "organism".

^organism(.*) will also capture everything that follows, into the variable that contains the first match (which varies according to language -- in Perl it's $1).

Ether
I recommend adding `$` to the end. Its easier to read that way (although its a very simple regexp).
elusive