Hi.
i have to extract the following line:
C:\WINDOWS\lsass.exe
i tried
(\w:\\.*\.\w{3})
it worked on some strings only.
any suggestions ? plz help.
Thats not really enough information but try making the match non-greedy by adding '?':
(\w:\\.*?\.\w{3})
OK. Thx
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.