--- a/clientside_validation.admin.inc
+++ b/clientside_validation.admin.inc
@@ -371,7 +371,8 @@ function clientside_validation_admin_set
     '#collapsed' => FALSE,
     '#title' => t('XRegExp for Pattern matching'),
     '#description' =>t('Javascript doesn\'t support regular expressions for pattern matching the way PHP does. With the XRegExp library most PHP expressions(pregex) become also available in Javascript. So you might want to use that instead of AJAX calls.<br>
-     You can Download the library(+ plugins you wish) from !xregexplink and put it in sites/all/libraries/xregexp (create the directory).',
+     You can Download the library(+ plugins you wish) from !xregexplink and put it in sites/all/libraries/xregexp (create the directory). 
+     Note: If the lib is already loaded by yourself or another module (e.g. syntaxhighlighter), just don\'t put it in sites/all/libraries/xregexp and look at compatibility settings below.',
       array(
         '!xregexplink' =>
         l('http://xregexp.com/', 'http://xregexp.com/')
@@ -386,6 +387,28 @@ function clientside_validation_admin_set
     '#default_value' => variable_get('clientside_validation_usexregxp', 0),
   );
 
+  $form['clientside_validation_xregxp']['clientside_validation_compat'] = array(
+    '#type' => 'fieldset',
+    '#collapsible' => TRUE,
+    '#collapsed' => FALSE,
+    '#title' => t('Compatibility settings'),
+    '#description' => t('Workarounds to avoid conflicts'),
+  );
+
+  $form['clientside_validation_xregxp']['clientside_validation_compat']['skipload'] = array(
+    '#title' => t('don\'t load the lib'),
+    '#description' => t('check if the xregexp is provided otherwise and you don\'t want it to be loaded'),
+    '#type' => 'checkbox',
+    '#default_value' => variable_get('clientside_validation_compat_skipload', 0),    
+  );
+
+  $form['clientside_validation_xregxp']['clientside_validation_compat']['forceplugins'] = array(
+    '#title' => t('Force plugin loading'),
+    '#description' => t('check if you want plugins(like unicode support) loaded even if the lib itself is not'),
+    '#type' => 'checkbox',
+    '#default_value' => variable_get('clientside_validation_compat_forceplugins', 0),
+  );
+  
   $form['#submit'] = array('clientside_validation_admin_settings_submit');
   $form = system_settings_form($form);
   
--- a/clientside_validation.module
+++ b/clientside_validation.module
@@ -129,6 +129,10 @@ function clientside_validation_form_alte
 /* adds xregexp and optional unicode js lib
  */
 function clientside_validation_add_xregexp(){
+  $skipload = (variable_get('clientside_validation_compat_skipload',0) != 0);
+  $forceplugins =  (variable_get('clientside_validation_compat_forceplugins',0) != 0);
+  if($skipload && !$forceplugins) return;
+
   $xregxppath = 'sites/all/libraries/xregexp';
   if(!is_dir($xregxppath)){
     $xregxppath = drupal_get_path('module', 'clientside_validation') . "/xregexp";
@@ -136,21 +140,24 @@ function clientside_validation_add_xrege
       return;
     }
   }
-
-  $regexlib ="$xregxppath" . '/xregexp-min.js';
-  if(!is_file($regexlib)){
-    $regexlib ="$xregxppath" . '/xregexp.js';
+  if(!$skipload){
+    $regexlib ="$xregxppath" . '/xregexp-min.js';
     if(!is_file($regexlib)){
-      return;
+      $regexlib ="$xregxppath" . '/xregexp.js';
     }
+    if(is_file($regexlib)){
+      drupal_add_js($regexlib);
+    }else if(!$forceplugins){
+      return;
+    }   
   }
 
-  drupal_add_js($regexlib); 
-  if(!is_file("$xregxppath" . "/xregexp-unicode-base.js")){
-    return;
+  if(is_file("$xregxppath" . "/xregexp-unicode-base.js")){
+    drupal_add_js("$xregxppath" . "/xregexp-unicode-base.js");
+  }else if(!$forceplugins){
+      return;
   }
 
-  drupal_add_js("$xregxppath" . "/xregexp-unicode-base.js");
   if(is_file("$xregxppath" . "/xregexp-unicode-categories.js")){
     drupal_add_js("$xregxppath" . "/xregexp-unicode-categories.js");
   }
