RE: Regex problem with leader

2008-12-22 Thread Bryan Baldus
On Monday, December 22, 2008 1:18 PM, Monday, December 22, 2008 1:18 PM wrote: >However, if there is no language code, I want to assign the code "ENG". The >problem is my test for an empty language code is not working. I've tried a >few variants of the regex, but come up empty handed. When I

Regex problem with leader

2008-12-22 Thread Migell Acosta
I am extracting the language codes from some MARC records using the leader (field 008), position 35 and three characters long. The code works fine as long as the 008 does have a language code in it. However, if there is no language code, I want to assign the code "ENG". The problem is my test fo