Replace the comma between two selected words using regex replacement
-
I want to replace the comma (,) between two selected words. here is the input
test normal content [ABC]new, ball, test[/ABC]output
test normal content [ABC]new[/ABC][ABC] ball[/ABC][ABC] test[/ABC]can someone please guide me on how to do it?
-
If you know about the existence of regex, why is this hard?
Find:
,
Replace:[/ABC][ABC]
Search mode: Regular expression -
@Alan-Kilborn i want to replace comma only inside [ABC] [/ABC]. I could not able to edit the first post.
input
test, normal content [ABC]new, ball, test[/ABC]Output
test, normal content [ABC]new[/ABC][ABC] ball[/ABC][ABC] test[/ABC]sorry I did not explain properly in my first post.
-
@voska7 said in Replace the comma between two selected words using regex replacement:
i want to replace comma only inside [ABC] [/ABC]
If you go to the FAQ on this site…
And from there go HERE…
One of the choices there will take you HERE…which seems to be what you need.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login