In this paper, we give a polynomial (O(n8)) algorithm for finding a longest common pattern between two permutations of size n given that one is separable. We also give an algorithm for general permutations whose complexity depends on the length of the longest simple permutation involved in one of our permutations. Mathematics Subject Classifications (2000). 05A05, 05C12, 05C85, 05C05, 90C39