kitbogashow / how-to-fix-paypal

Various ways to filter text emails to stop scammers from exploiting PayPal's invoice system.
MIT License
46 stars 31 forks source link

Use better practices for Java regex example #28

Closed datatags closed 1 year ago

datatags commented 1 year ago

This PR makes a few changes to the Java example for better practices. (If this goes into the PayPal codebase, they'll want good coding practices 😉 )

How to use:

  1. Copy invoices.txt to project root (java folder)
  2. With Maven installed, run the command mvn package from the project root
  3. Run java -jar target/FixPaypalRegex-1.0-SNAPSHOT.jar