Can you deduct job search expenses out of 1099 funds even if you have a separate job with a W2?

Can you deduct job search expenses out of 1099 funds even if you have a separate job with a W2 under the new tax law?