Remove Text After T in Excel with Find and Replace
Question details
Remove T and everything after it from transaction data, then convert the remaining date text to actual dates if needed.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A column contains transaction timestamps such as 2025-03-08T14:30:00, and only the date portion is needed.
- Observed behavior
- The desired result is a date without the T separator or the text that follows it; the result may need conversion from text to a date value.
Identify the cells containing the timestamps and check that T is the separator you want to remove. Select only the target cells, and avoid including formulas or unrelated text.
Replace T and the Remaining Text, Then Convert Dates
Use this method to remove the separator and trailing text from selected cells and convert ISO-style date text to Excel dates.
In the worksheet, select the cells containing the transaction timestamps, such as V2 through the last used row.
Press Ctrl+H, click Options, and clear Match entire cell contents. If only uppercase T should match, select Match case.
Enter T* in Find what, leave Replace with blank, and click Replace All. The asterisk matches any characters following T, so T is removed too.
If the remaining dates are stored as text in year-month-day order, select the results and choose Data > Text to Columns. Click Next twice, select Date, choose YMD, and click Finish.

Remove Timestamp Suffixes in WPS Spreadsheet
Use Find and Replace in WPS Spreadsheet to remove T and the trailing time from selected transaction data, then convert ISO-style date text if needed.
- 1. Open the workbook: Open the Excel workbook in WPS Spreadsheet and select the cells containing the timestamps.
- 2. Replace the suffix: Press Ctrl+H, enter T* in Find what, leave Replace with blank, and click Replace All. If available, clear Match entire cell contents and enable Match case to match only uppercase T.
- 3. Convert date text if needed: Select the results and use Data > Text to Columns. Advance through the wizard, choose Date and YMD for year-month-day text, and click Finish.
- 4. Format the dates: If the converted values appear as numbers, select the cells and choose a date format from the Home tab's number format menu.

Frequently Asked Questions
Does T* remove the letter T as well?
Yes. In Find and Replace, T* matches T and all characters after it in the cell, so replacing the match with a blank removes the separator too.
How can I prevent lowercase t from being removed?
In Excel's Replace dialog, click Options and select Match case before running Replace All.
Why do the remaining dates still behave like text?
Excel may retain the results as text. Select them and use Data > Text to Columns, then choose Date and the matching date order, such as YMD.
What happens to cells that do not contain T?
They are not changed by the T* replacement. Check the selected range afterward for any values that use a different separator.




