Regular Expressions 101

Community Patterns

Find games titles in roms files

1

Regular Expression
Python

r"
^([A-Za-z0-9]*[- ])*
"

Description

Useful to find only the game title without the tags if you have thousands of files to sort For example : Walt Disney World Quest - Magical Racing Tour (E) (M3) [C][!] -> Match only the title

Submitted by Alex - 8 years ago