Replace partial text
-
Hello there.
I have a difficult task to complete:I have 1041 links like this: site_old com / viewtopic.php?id=xxxxx
The xxxxx is a number in all links. So the site changed the domain name and now i want to replace everything from “=” and back in ALL 1041 links.
So the “site_old com/viewtopic.php?id=xxxxx” change to site_new com/viewtopic.php?id=xxxxx"Any chance to do this?
-
@Panagiotis-Alexoula said in Replace partial text:
So the “site_old com/viewtopic.php?id=xxxxx” change to site_new com/viewtopic.php?id=xxxxx"
This looks like it doesn’t even need to be a regular expression. If you select the text being replaced (highlight it with the mouse), then select the Replace function, the find what field will be populated with the highlighted text. Make sure the search mode is “normal”. In the Replace with field type the new replacement text and click on “Replace all”.
That is unless you have additional information which changes the whole question.
Terry
-
@Terry-R Yes!! Thats is thanks mate
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