Code: Select all
<meta name="dc:title" content="Warriors:"/>
So far my code is:
Code: Select all
Let>SourcePath=E:\Data1\Temp Double Disc No Link\704149
Let>DiscNum=0
Let>t=0
Label>TitleLoop
//Search for Kbyte in metadata
If>DiscNum=0
ReadLn>%SourcePath%\ncc.html,%t%,strTitlePos
Else
ReadLn>%SourcePath%\Part%DiscNum%\ncc.html,%t%,strTitlePos
Position>dc:title,strTitlePos,1,nPos,TRUE
If>nPos>0,Finish
Let>t=t+1
Goto>TitleLoop
Label>Finish
RegEx>(?<=content=").*?(?="/>),strTitlePos,0,Matches,nm,0
ExtractFileName>Matches_1,strTitle
Matches_1=Warriors:
So I don't understand why it's not working. Also I want to remove any non alpha numeric characters and also replace & with the word and. I know I can do this with stringreplace but is there a more elegant way of doing that?