Skip to content

Bulk Find / Replace

Standard tier

Available on Standard tier and above. Free/trial users also have access (with limits).

Modeless dialog more powerful than the default Ctrl+H: supports regex, multi-rule, multi-sheet, recipes saved for reuse. Ideal for cleaning BoQ / quantity / batch report data.

Open the dialog

DVD Addin → group Text and Number → dropdown Text ops → click Bulk find / replace.

The dialog is modeless — you can change the Excel selection between Apply clicks without closing the dialog.

Compared to Excel's Find/Replace

Excel Find/ReplaceDVDAddin Bulk Find/Replace
Regex✅ Full .NET Regex
Multi-rule❌ (one pair at a time)✅ N rules in one pass
ScopeCurrent workbookActive sheet / Selected sheets / Workbook
Save recipe✅ JSON file for reuse
Preview before Apply✅ Highlight matches + count
Undo❌ (history lost)✅ Excel undo stack

Typical workflow

1. Add rule

FieldMeaning
FindText or regex pattern to search
ReplaceReplacement text (can include $1, $2... when using regex groups)
Use RegexTick → Find field parsed as .NET Regex
Match caseCase-sensitive
Whole wordMatch whole words (not substring)
In formulasSearch in formulas instead of displayed values

Click ➕ Add rule to add another (1 dialog runs many rules in parallel).

2. Pick scope

OptionDescription
SelectionOnly within current selection
Active sheetEntire current sheet
All sheetsEvery sheet in the workbook
Selected sheetsSheets currently grouped (Ctrl+click tabs to group)

3. Click "Find all" or "Replace all"

  • Find all → highlights every match (no replace). Dialog reports: "Found 47 matches in 12 cells across 3 sheets".
  • Replace all → actual replace. Pops a confirm: "Replace 47 occurrences. Continue?".

Common regex examples

Use caseFindReplace
Strip trailing parenthetical\s*\(.*?\)\s*$(empty)
Format VND amount(\d+)000$1.000
Normalize norm codeAB\.(\d{4,5})AB.$1.00
Convert date MM/DD → DD/MM(\d{2})/(\d{2})/(\d{4})$2/$1/$3
Strip trailing whitespace[ \t]+$(empty)
Collapse multiple spaces to one\s{2,} (1 space)

Recipes — save rule sets

Each recipe = a group of rules + scope, saved as JSON in %APPDATA%\DVDAddin\Recipes\.

ActionDescription
💾 Save recipeName the recipe (e.g. "TT10 BoQ Normalize") → saves JSON
📂 Load recipeDropdown lists saved recipes → click → loads rules + scope
🗑 Delete recipeDeletes the JSON file

Recipes are useful for:

  • Norm code normalization (AB.11110 → AB.11110.00)
  • Date format conversion when receiving partner files
  • Project name cleanup against a template

License gating

TierAvailable
Trial / Activated✅ All features
Standard✅ All
Pro✅ All
Expired / Unactivated🔒 Locked — requires activation

Tips

  • Test regex first: use Find all before Replace. If found-count is wrong → fix the pattern
  • Backup workbook: a bad regex can wipe data. Save before Replace all
  • Combine with Data Cleaning: Bulk Find/Replace fixes pattern-based issues; Data Cleaning fixes structural issues (blanks/duplicates/whitespace)

Released under DVDAddin License.