For example, here are three files
“12345678ABC”
“1234567ABC”
“123456ABC”
Now I want to delete all the characters before ABC, but the number is not fixed. How can I write a script to do this
How to delete an unspecified number of strings before a specific character
-
- Posts: 5
- Joined: Thu Sep 09, 2021 2:42 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: How to delete an unspecified number of strings before a specific character
Code: Select all
string VAR $ "ABC"
The examples provided in quickbms.txt from line 1585 (the section "String VAR OP VAR") are quite useful, sometimes I just try most of the operators until I get the result because I don't remember them