diff --git a/vbo_search_and_replace.module b/vbo_search_and_replace.module
index 05f8797..3c1505c 100755
--- a/vbo_search_and_replace.module
+++ b/vbo_search_and_replace.module
@@ -306,6 +306,12 @@ function vbo_search_and_replace_action_form($context, &$form_state) {
     '#default_value' => 0,
     '#description' => t('Check this if the entire field must match the search parameters including the prefix and suffix. <i>example: With this option selected, for the search string "The quick brown fox" to obtain a match, the entire contents of the field must be "The quick brown fox". A field with the value "The quick brown fox jumps over the lazy dog" will not be considered a match</i>'),
   );
+  $form['advanced']['regular_expression'] = array(
+    '#title' => t('Regular Expression'),
+    '#type' => 'checkbox',
+    '#default_value' => 0,
+    '#description' => t('Check this if you want to search using a regular expression (this will ignore the two options above, prefix and sufix).'),
+  );
 
   return $form;
 }
@@ -422,7 +428,7 @@ function vbo_search_and_replace_action_views_bulk_operations_form($options, $ent
     '#type' => 'checkbox',
     '#title' => t('Display checkboxes inline'),
     '#description' => t('Add a little bit of styling to the page to display the checkboxes inline as columns.'),
-    '#default_value' => $settings['checkbox_columns'],
+    '#default_value' => $options['checkbox_columns'],
   );
 
   $form['display_values'] = array(
@@ -544,7 +550,16 @@ function _vbo_search_and_replace_search_and_replace($search, $replace, $subject,
   $settings['search_suffix'] = isset($settings['search_suffix']) ? $settings['search_suffix'] : '';
   $settings['case_sensitive'] = isset($settings['case_sensitive']) ? $settings['case_sensitive'] : '';
   $settings['exact_match'] = isset($settings['exact_match']) ? $settings['exact_match'] : '';
+  $settings['regular_expression'] = isset($settings['regular_expression']) ? $settings['regular_expression'] : '';
 
+  if ($settings['regular_expression']) {
+    try {
+      $subject = preg_replace($search, $replace, $subject);
+    } catch  (Exception $e) {
+      return $subject;
+    }
+    return $subject;
+  }
   // Our search and replace strings WITH prefix and suffix
   $search = $settings['search_prefix'] . $search . $settings['search_suffix'];
   $replace = $settings['search_prefix'] . $replace . $settings['search_suffix'];
