Sublime Forum

Please help

#1

CMD:resetjackpot(playerid, params[]) - Example
I have about 1000 lines of text starting with CMD: and finishing with (playerid, params[]).But i need part in between so is there any way i don’t have to scroll down and write it in another sublime.I tried like CTRL + H CMD: params[]) but it don’t match anything.Please help :frowning:

0 Likes

#2

Not quite sure what the result is that you are looking for, but lets assume for the moment you want to change the line

CMD:resetjackpot(payerid, params[]) to just resetjackpot

CTRL+H will pull up the replace panel. Make sure that the regular expression option is turned on ( .* )

Enter into the Find: field the following:
CMD:(.*)(playerid, params[])

And enter into the replace field:
$1

And then do a replace all

0 Likes