Search the current directory tree for files whose names begin with "my" and end with "p" followed by any character, ignoring path names containing "test"
find . -regex ".*/my.*p.$" -a -not -regex ".*test.*"