Border Filter with String Pattern