N
Nightcrawler
I have the following regex:
(??<Title>.+)??(?<Remix>(?:\([^\)]+\)|\[[^\]]+\]))|(?<Title>.+))
This matches
title
title (remix)
title [remix]
How can I extend this to also match
title - remix
I also want the regex not to be sensitive to the amount of spacing
before and after the dash.
Thanks
(??<Title>.+)??(?<Remix>(?:\([^\)]+\)|\[[^\]]+\]))|(?<Title>.+))
This matches
title
title (remix)
title [remix]
How can I extend this to also match
title - remix
I also want the regex not to be sensitive to the amount of spacing
before and after the dash.
Thanks