View Single Post
Old 07-20-2025, 11:30 AM   #11020
palindrome-fox
Junior Member
palindrome-fox began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2025
Device: Kobo Clara B/W
Quote:
Originally Posted by JimmXinu View Post
add_to_replace_metadata:
# 3 digits
wordest=>^\d\d\d$=>0-5k
# 1k-4,999
wordest=>^[1-4],\d\d\d$=>0-5k
Thanks so much for the fast reply, this is exactly what I was looking for!
I know next to nothing about coding but from what I understand from what you have written, would I need to write code for each 'category' division?

e.g
Code:
 #25-29,999k
 wordest=>^2[5-9],\d\d\d$=>25-50k
 #30-39,999k
 wordest=>^3[0-9],\d\d\d$=>25-50k
 #40-49,999k
 wordest=>^4[0-9],\d\d\d$=>25-50k
etc. etc.

Or is it possible to do something like below? It didn't seem to work when I experimented with it
Code:
#25k-49,999
 wordest=>^[2-9,],\d\d\d$=>25-50k
Again thank you for the help and for the advice about the test story
palindrome-fox is offline   Reply With Quote