 		createdate,
 		whodunit
 	) values (
-		'substr(barcode,0,1)=''H'' and is_number(substr(barcode,2))=1 and to_number(substr(barcode,2)) >= 1000000 and to_number(substr(barcode,2))<=1249999',
-		'H1000000-H1249999',
+		'regexp_like(barcode,''^H[0-9]*$'') and to_number(substr(barcode,2)) between 100001 and 1279999',
+		'H1000000-H1279999',
 		'UAM',
 		 'Herbarium sheet labels',
 		 '2008-11-05',
 		 'brandy'
 	);
+
+
+
+
+
 	insert into cf_barcodeseries (
 		barcodeseriessql,
 		barcodeseriestxt,

		<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			select * from cf_barcodeseries order by key
		</cfquery>

		<table border>
			<tr>
				<th>Txt</th>
				<th>sql</th>
				<th>testing</th>

			</tr>
			<cfloop query="d">
				<tr>
					<td><a href="barcodeseries.cfm?action=edit&key=#key#">edit</a></td>
					<td>#barcodeseriestxt#</td>
					<td>#barcodeseriessql#</td>
					<td>#barcode#</td>
