View Single Post
Old 08-23-2014, 11:56 AM   #1
comox
Enthusiast
comox began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jan 2011
Device: none
regular expression to convert character when adding book

Hoping there might be a regular expression expert that can help me.

I would like to convert "_" to ":" in the file name title when adding books.

For example:
John Doe - Cooking_ With Gas - 2014

Using:
(?P<author>[^_]+) - (?P<title>.+) - (?P<published>.+)

Is there a modification I can make so that the imported title is "Cooking: With Gas".
comox is offline   Reply With Quote