Batch editor - GOOD IDEA, but doesn't work too good on regex

Tool for Search and Replace across multiple files.
Post Reply
me_suzy
Posts: 16
Joined: Thu Jul 14, 2016 11:31 am

Batch editor - GOOD IDEA, but doesn't work too good on regex

Post by me_suzy »

hello, I have this regex to search and replace with other regex, on Batch Editor.

SEARCH: (content=")(.*?(?<!,))\x20\|?\x20*(.*)

REPLACE BY: $1\l$2,\x20\l$3

Is not working. At all. It's a mess.
4EverMaAT
Posts: 11
Joined: Tue Sep 24, 2019 4:07 pm

Re: Batch editor - GOOD IDEA, but doesn't work too good on regex

Post by 4EverMaAT »

@me_suzy have you tried using the built-in "RegEx Tester"?
Image


Also, can you elaborate on what you are trying to do? (break down each command for the find and replace with an example so we know what the final result should look like vs what you are getting).

Looks like you have 4 groups in the find, but only want to reference 3 groups in the replace

If you can attach (or upload to dropbox, google drive, etc and shareable url here) either photo or short screen video showing what you want?
Post Reply