Need regex to replace

Hi Team,

I wanted to replace a word which contains the “VA”. but if it only VA it has to leave it.

Please find the below text. Please help me with regex.

*** Submitted 3/3/2020 10:36:40 AM - Varshney, Pulkit [Universal ID: U1292872] - 2189090
== User Information for Request ==
Varshney, Pulkit [Universal ID: U1292872]
Pulkit.Varshney@centurylink.com
System Engineer
Rajiv Gandhi Infotech Park, Phase-2 411057
Pune 00000
UK VETTED: no
NSA SCREENED: yes
MANAGER: Debolt, Tina [Universal ID: U0237820]
== Details of This Request ==
RESOURCE: Service Activation Orchestration
ACCESS TYPE: TSDS
Description: TSDS role
TYPE: app
Auto Provisioned: Yes
ADMIN: Global - Service Desk - Tier 1

Approved: AAM1 - Wang, Jin-Gen
By: Adkins, James M (Jim) - 3/4/2020 7:42:20 AM
Notes: Approved by U0204670

Approved: Manager - U0237820
By: U0237820 - 3/3/2020 11:39:40 AM
== Additional Information Of This Request ==
Please provide access as per mirror ID: sharma.upasana

Please provision user access for:
Service Activation Orchestration
TSDS

Please provide access as per mirror ID: sharma.upasana

AUDIO Platform: Service Activation Orchestration
ITPKM ID: 6603
Assignment Group: Global - Service Desk - Tier 1

1 Like

Just to confirm.

1.You want a regex that can find all the words that contains the letters “VA”.
2. If the letters V or A or the word VA is present anywhere. It has to be left as is.

Regards,
Nithin

but you gave us a text that do not have VA :sweat_smile:

1 Like