SA-MP Forums Archive
Regular Expression - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Regular Expression (/showthread.php?tid=277332)



Regular Expression - Zh3r0 - 17.08.2011

I must find and replace something in Notepad++ but I can't seem to make it working.

My knowledge in regex is low, I barely know anything, but I know what's its role.

I need to find every string
name="delux object (4)"
I must find around 400 lines like that and remove them

I need this because I cannot convert my objects to 0.3c because this is in the way.
How to use it in Notepad++ ?


Re: Regular Expression - Finn - 17.08.2011

Why don't you just use a .map loader to avoid all this converting bullshit?


Re: Regular Expression - Kyle - 17.08.2011

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
I must find and replace something in Notepad++ but I can't seem to make it working.

My knowledge in regex is low, I barely know anything, but I know what's its role.

I need to find every string
name="delux object (4)"
I must find around 400 lines like that and remove them

I need this because I cannot convert my objects to 0.3c because this is in the way.
How to use it in Notepad++ ?
Just, hold ctrl and f5 and then a box will load, click on the tab click replace type

the string your looking for then in the box below it put nothing and click replace. Should work.


Re: Regular Expression - Blacklite - 18.08.2011

Notepad has regex search/replace - press CTRL+R and make sure you tick "Regular Expr". There are lots of options, so make sure you've set them right before you say "OMG IT'S NOT WORKING".

Good luck!


Re: Regular Expression - Farsek - 18.08.2011

name=\"delux object \([0-9]?\)\"