skip to Main Content

Javascript – Allow a two specific phrase and continue

I have a RegEx originally like this: /https://medal.tv/gameseuro-truck-sim-2/clips/([A-z0-9-]+)(/[A-z0-9]+)?(??[A-z0-9]+=?[A-z0-9]+-[A-z0-9]+)?/ which works perfectly, however, I would like it to work both when it is "euro-truck-sim-2" and "imported-clips". I have not too much (practically, zero) experience with RegEx and I have no clue…

VIEW QUESTION
Back To Top
Search