In the find and replace gui, check the box for Regular expression, and enter a query like:
Find What: (dagaga2.com:8ddagd1:)(.*)
Replace With: 1
This will replace dagaga2.com:8ddagd1:dbcc:eLXLBdRdd?a'badagahaha with dagaga2.com:8ddagd1:.
Note that you must escape the : characters with a leading backslash. Otherwise the regex parser will read them incorrectly.
What you are doing here, it specifying the string you want to keep, in parentheses. Then add (.*) at the end, to grab all the rest of the string, whatever it may be.
The replace statement is a Backreference, which says "give me only the first capture-group". Capture groups are created by parentheses, which is why we had to put the sought string inside them.
- - , .
برچسب:
نویسنده: استخدام کار