سؤال

How can I search for a string like this:

[safdsadsadsadad]

Criterion is: Opening square bracket and the first closing square bracket after ist. And replace the complete string by nothing (thats clear). My problem is: How to search for squre brackets as strings, as square brackets have a meta-meaning for regular expressions?

هل كانت مفيدة؟

المحلول 2

In Notepad++ you can try this: \[\w+\], you can escape special scharacters with \

نصائح أخرى

Have a try with:

Find what: \[[^[\]]*\]
Replace with: Nothing

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top