MARCEDIT-L Archives

February 2018

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Yu Chun Hsieh <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Fri, 9 Feb 2018 08:14:22 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (67 lines)
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]

ATOM RSS1 RSS2