I am trying to remove text before specific brackets using REGEX in comma separated column using Pandas

From this -

```
colA
My Company Ltd [CS], address, nbc [LV], state [NP], pc [SS], country
Business Plc [CS], address, abc [LV], state [NP], code [SS], country
Work Harder Inc [CS], address, xyz[CS], state [NP], code [SS], country
Company Business People [CS], address, typode [SS], country, nlp [CS]

```

**Text before [CS] and [LV] and within brackets has to be removed**

Expected result -

```
colA
address, state [NP], pc [SS], country
address, state [NP], code [SS], country
address, state [NP], code [SS], country
address, typode [SS], country

```
['https://Stackoverflow.com/questions/73681765', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/12989327/']
You can´t instantiate the `UIApplicationDelegateAdaptor` yourself. The system will do that for you. But there is a workaround.

[From Documentation](https://developer.apple.com/documentation/swiftui/uiapplicationdelegateadaptor)

> 
> If your app delegate conforms to the ObservableObject protocol, as in the example above, then SwiftUI puts the delegate it creates into the Environment. You can access the delegate from any scene or view in your app using the EnvironmentObject property wrapper:
> 
> 
> 

This means get rid of your `CameraManager`, move the functions into `AppDelegate` and conform it to `ObservableObject` then you can access it in every subview from the Environment as `AppDelegate`.
I'm just posting what I did in case anyone is curious. Instead of trying to use bindings, I just used notification center to post notifications from the app delegate and respond to them from the appropriate views with .onReceive