View Single Post
Old 03-30-2016, 06:00 PM   #1
Thomas_AR
Zealot
Thomas_AR began at the beginning.
 
Thomas_AR's Avatar
 
Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
Regex: Search and Replace

Hi folks,
after a long period of abstinence i have again a little question regarding Regex in the search and replace window (Tag Editor)

After adding a lot of books most of them have following content in the author field:

3540 - John Muster, bla bla

What i want to do is filter out everything but the first 4 digits and than insert the result in the Series Index field. I know how to filter out numbers and replace them, but not how to filter everything out but the first numbers.

Any help would be appreciated.
Thanks
Thomas_AR is offline   Reply With Quote