mystack
mystack

Reputation: 5492

Use regular expression to match a string in Notepad++

I used a following regular expression to find some strings in different files opened using Notepad++.But getting error box saying invalid regular expression

<Variable Id="File" Value=(*)/>

The possible values that iam trying to match are.

 <Variable Id="File" Value="null"/>
 <Variable Id="File" Value="autorun.ini"/>

Please help

Upvotes: 1

Views: 163

Answers (1)

Amit Joki
Amit Joki

Reputation: 59232

Just added a .

Use this regex:

<Variable Id="File" Value=(.*)/>

.* means match all character

Upvotes: 1

Related Questions