pattern matching algoritham

I have a text like following pattern

[size=2][color=Blue]xxzzdggjkllkxxzzzzxxzzxz[/color][/size]

And also two pattens like [color=Red]xx[/color] and [color=Red]zz[/color]

I need to find longest possible string which include above two patterns.

So any one can post a algorithm for this it is very help full for me.

please help me .......

Comments

  • Your request is vague. I need a more precise description on what you need.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion