I have two videos format first one only dashes and second one underscores and dashes. I need figure out format by Sitecore powershell script from specific path.
Format One Video Images (dashes):
video-thumb-5226977037001.jpg
video-still-5226977037001.jpg
Format Two Video Images (underscores and dashes):
video_thumb-4721086006001
video_still-4721086006001
dashes
andunderscore
then it returns true and similalry for thedashes
character scenario. Let me know in case you have any doubts.