View Single Post
 
Old 10-30-2023, 12:51 PM
vivka vivka is offline Windows 7 64bit Office 2016
Expert
 
Join Date: Jul 2023
Posts: 302
vivka is on a distinguished road
Default

Laith93, I see I have misunderstood your aim: I thought you wanted to delete only four-digit numbers in parentheses and nothing else. So my apologies to Guessed! His code should work properly but unfortnately it doesn't (you are right). I think the following will work:
" \([!\)]@[0-9]{4}*\)"
Reply With Quote