I recently download RegExBuddy. Great software. I was working on a pattern that I just couldn't quite get. With in 30 minutes of using RegExBuddy, I figured it out. Atleast, as far as REbuddy is concerned.
But when I use the same pattern in MS, it doesn't work.
Code: Select all
ReadFile>E:\Felix's Movie Control\Active Pages\CenterPages.txt,nFile
//RegEx>(/\*)\s\w+:\s((.*\s){12}),nFile,0,match,nom,0
// This Pattern works in RegExBuddy.
RegEx>(/\*)\s\w+:\s(.*\s){9}(\*/),nFile,0,match,nom,0
//RegEx>^(/\*)\s,nFile,0,match,nom,0
//(/\*)\s\w+:\s((?:.*\s){10})
//(/\*)\s\w+:\s(.*\s){9}(\*/)
/*
Page99_Datab:
" INDEX"," Movie Name"," Year"," No Cinavia"," Audio","Playable"," Like"
" AAA","Good Morning","(1991)"," 1111111","","",""
Index,"p99 Zorro The Gay Blade p99","(1981)"," "," "," "," "
,,,,,,a
,,,,,,b
,,,,,,c
,,,,,,d
,,,,,,e
,,,,,,f
*/
/*
Page1_Data:
" INDEX"," Movie Name"," Year"," No Cinavia"," Audio","Playable"," Like"
" AAA","Good Morning","(1991)"," 1111111","","",""
Index,"p1 Zorro The Gay Blade p1","(1981)"," "," "," "," "
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,,,,,
*/
/*
Page2_Data:
" INDEX"," Movie Name"," Year"," No Cinavia"," Audio","Playable"," Like"
" AAA","Good Morning","(1991)"," 1111111","","",""
Index,"p2 Zorro The Gay Blade p2","(1981)"," "," "," "," "
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,,,,,
*/
/*
Page3_Data:
" INDEX"," Movie Name"," Year"," No Cinavia"," Audio","Playable"," Like"
" AAA","Good Morning","(1991)"," 1111111","","",""
Index,"p3 Zorro The Gay Blade p3","(1981)"," "," "," "," "
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,,,,,
*/
Can anyone show me the *magic*?
Marcus says that regex in MS is "PCRE" version.
Thanks in advance,
PepsiHog