Jump to content

Regex help


andytan91

Recommended Posts

Hi guys i am trying to regex this string whereby i could change the digit at the "0" part. The requirement is that i only want the number 1. findstr to change digit when regex is carried out and not number 2 as they are in the same text file....thanks in advance!!

 

 

1.findstr /i /C:"LSAAnonymousNameLookup = 0" C:\major_security_settings1.txt

2.findstr /C:"LSAAnonymousNameLookup = 0" C:\major_security_settings1.txt

Link to comment
https://forums.phpfreaks.com/topic/209679-regex-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.