In need of Searching a list in a file (Reg Expression) but can't seem to get it to work
-
I have a list open in a file. I need to find all of the items that have M in the 5th position. I have not been able to successfully create a regular expression to pull this off…
Any ideas?
-
-
Alan, what are the first 5 characters mean in your Regex?
-
The documentation for the Notepad++ regexes can be found at https://npp-user-manual.org/docs/searching/#regular-expressions
In brief
(?-s)
turns off “. matches newline” for the regex, regardless of the setting of that checkbox. (That’s a very useful flag in a help forum like this, where you cannot know the settings of the user’s dialog box; by using that flag, you know the state of the regex, regardless of dialog settings.) -
@PeterJones am getting a 404 for this: https://npp-user-manual.org/docs/searching/#regular-expressions is this a result of the attack, or just a typo?
-
There were some server issues this weekend, but it’s working for me now. You might need to reload the page, and maybe even clear your browser cache and try again.