I was wondering if there was a way to have wildcards in a search and replace function? -- Preferably in a string. What I'm trying to do is seperate a filename (name.ext) and convert it to a list box entry with the format (name::ext). The only ceavat that I'm running into is some filenames may have periods in them somewhere else... (file.name.ext)--so a simple search and replace won't exactally work...
What I have right now is:
<font color=green>
<IR_ACTIONS_LIST>
<Action name="Replace">
<Type>60</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%LineAdd%</Variable>
<SearchIn>%LineName%</SearchIn>
<SearchFor>.</SearchFor>
<ReplaceWith>::</ReplaceWith>
<CaseSensitive>1</CaseSensitive>
</Action>
</IR_ACTIONS_LIST>
</font color=green>
Thanks in advance!
What I have right now is:
<font color=green>
<IR_ACTIONS_LIST>
<Action name="Replace">
<Type>60</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%LineAdd%</Variable>
<SearchIn>%LineName%</SearchIn>
<SearchFor>.</SearchFor>
<ReplaceWith>::</ReplaceWith>
<CaseSensitive>1</CaseSensitive>
</Action>
</IR_ACTIONS_LIST>
</font color=green>
Thanks in advance!
Comment