http://qs321.pair.com?node_id=1171469

jake7176 has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

This is my first post and I am sure it has been asked before, but I can't find it anywhere.

Say I have a string ksguhdipghisosipghthispartudirlhgdr

How would I go about extracting thispart?

I feel like I should make clear that I don't know where abouts in the string it will be, I just know that it is in there somewhere. I have tried some basic regex but all I seem to be able to do is remove "thispart" and end up with the stuff I don't want.

Any help is much appreciated,

thanks