Dear MarcEdit experts,
May I have a regular expression help?
I would like to turn these long 538 tag into the shorter 538 tag, and ONLY keep the information like PAL, NTSC, Region 2 or 4 or 5 in the field.
and also separate the PAL and Region information with a semicolon ; and with a full stop at the end .
Example 1:
=538 \\$aDolby digital ; PAL ; DVD ; region 2,4,5 ; widescreen.
turn into
=538 \\$aPAL ; Region 2,4,5.
Example 2:
=538 \\$aDVD video, Dolby digital 5.1 surround, PAL, Region 2/4, anamorphic widescreen 1.78:1.
turn into
=538 \\$aPAL ; Region 2/4.
Example 3:
=538 \\$aDVD video, Dolby digital 5.1, PAL, Region 4, widescreen 16:9, 2.35:1.
turn into
=538 \\$aPAL; Region 4.
Example 4:
=538 \\$aDVD video, Dolby digital 5.1, NTSC, Region 2, 4, anamorphic widescreen 16:9, fullframe 1.78:1.
turn into
=538 \\$aNTSC ; Region 2, 4.
Example 5:
=538 \\$aDVD, Region 2, 4, 5 ; PAL.
turn into
=538 \\$aPAL ; Region 2, 4, 5.
Any input and help will be really really apprecited!!
Thank you so much.
Regards,
Connie
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
|