Score:0

Regular expression to consider all directory and remove if particular folder matches

bd flag

I want to write a regular expression to consider all the directory which start from "system" and delete if particular folder struture present with name "Remote" currently Provided regex

".(Cust|Cur Req|Cur Spec|Regu|/ASM|Sta).")

entire module class

validmodule("Cust", samsung.cfg", ".(Cust|Cur Req|Cur Spec|Regu|/ASM|Sta).");

please help how to add additional condition to remove it. I want to additional add or combine one more to exisiting regex to remove complete directory path if a directory has word "Remote" like example below

Cust/Cur Req/Remote -------- remove entire path

Cust/Cur Req ------------ Consider

Cust/value_remote/Cur spec/ ---------------remove

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.