diff --git a/misc-scripts/xref_mapping/XrefParser/HGNCParser.pm b/misc-scripts/xref_mapping/XrefParser/HGNCParser.pm
index 809eec03fa5ab62fc8d7baf55e4224e00d14b0ab..af370fd892d87f316798d2a34c09cd8fe2d27bde 100644
--- a/misc-scripts/xref_mapping/XrefParser/HGNCParser.pm
+++ b/misc-scripts/xref_mapping/XrefParser/HGNCParser.pm
@@ -60,7 +60,7 @@ sub run {
     my $type = 'Locus Specific Databases';
     my $id = $array[$name_to_array_index->{$type}];
     my $source_id = $name_to_source_id->{$type};
-    if($id and $id =~ m/http:\/\/www.lrg-sequence.org\/LRG\/(LRG_\d+)\'/x){
+    if($id and $id =~ m/http:\/\/www.lrg-sequence.org\/LRG\/(LRG_\d+)/x){
       my $lrg_stable_id = $1;
       $self->add_to_direct_xrefs({ stable_id   => $lrg_stable_id,
 				   type        => 'gene',