YorCreative / Laravel-Scrubber

A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.
MIT License
140 stars 12 forks source link

using regex to hide credit card number #2

Closed emreakay closed 2 years ago

emreakay commented 2 years ago

hi, can you also add regex feature? Thanks

yordadev commented 2 years ago

Hi @emreakay

This is a great idea, I will add in following regex to detect:

If there is something in particular you are looking for let me know.

yordadev commented 2 years ago

136021556abf4d2c2009bbfd510d2181

emreakay commented 2 years ago

You can add Troy as well which is mostly used in Turkey

emreakay commented 2 years ago

Great enhancement by the way @yordadev

yordadev commented 2 years ago

afbf71cec530c344a605f2b89025df70

yordadev commented 2 years ago

🏁 ✔️ ✔️