Search and replace possible with regex and varying content? #463
-
Since I'm not at all into coding, I was wondering if your handy app is able to replace the following text strings with some variations, by using some regex magic and without additional plugins/coding? My files have quite a few entries with the following pattern:
mostly in the following form: The following regex will find the entries with the varying page numbers, but how to replace the string to the format above while preserving the individual page number? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I'm a bit confused about exactly what you are asking. If you can make it just a little clearer, maybe I can help. It seems like you want to replace the following, specifically those that have
By surrounding it with |
Beta Was this translation helpful? Give feedback.
()
. The order in which they are specified can later be represented using numbers. Capture what you want to preserve.\1
,\2
, etc. to replace the part you wish to preserve.Find:
Replace:
Adapt doing whatever you need.