Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 23780

Regex: Search and Replace

$
0
0
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

Viewing all articles
Browse latest Browse all 23780

Trending Articles