I am trying to write a regular expression to validate file names on a file system.
Examples of valid file names are
- tapa_newcougar_org.png
- tapa_lamborghini-talk_com.png
- tapa_clubfrontier_org.png
The logic behind valid is the image starts with tapa followed by an underscore. Then the domain name followed by _ the tld (com, org, net)
Thanks