简体   繁体   中英

MS Word Regex For Address

I have to replace the document which contains multiple instances of following text " PROPERTY ADDRESS: address varies for each document(contains alphabets & numbers) , "

The search text always begins with "PROPERTY ADDRESS:" AND ENDS WITH "," after the address. I would want to replace this with blanks.

EX : The area PROPERTY ADDRESS: 1234 XYZ ROAD, COUNY, STATE, 12345-1234 , is good

I would want it to be replaced as "The area is good".

Any leads would help. Thank you.

In MS Word, press Ctrl+H, check to option More : Use wildcards .
At Find what: = The area * is good
At Replace with: = The area is good
Then press Replace or Replace All !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM