# Table exclusion regex

**URL:** <https://forum.confluent.io/t/table-exclusion-regex/6103>\
**Category:** Confluent Cloud\
**Created:** [22 September 2022 10:34 UTC](https://forum.confluent.io/t/table-exclusion-regex/6103 "2022-09-22T10:34:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muthu](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@Muthu](https://forum.confluent.io/u/Muthu)\
**Post date:** [22 September 2022 10:34 UTC](https://forum.confluent.io/t/table-exclusion-regex/6103/1 "2022-09-22T10:34:04Z")

</div>

Hi Team, we are using CDC connector to fetch change events from Oracle DB tables.

Am trying to exclude particular tables using table.exclusion.regex property but even if its excluded am getting the change events. EX: Here am trying to get all tables starting with PFL\_ and i need to exclude `PFL_BANK_DATA`  
.Am using the config file as below.

```auto
{
"name": "NEXTGENUSERCDCConnector_292",
"config":{
"connector.class": "io.confluent.connect.oracle.cdc.OracleCdcSourceConnector",
"name": "NEXTGENUSERCDCConnector_292",
"tasks.max":1,
"key.converter": "io.confluent.connect.avro.AvroConverter",
"key.converter.schema.registry.url": "http:/localhost:8081",
"value.converter": "io.confluent.connect.avro.AvroConverter",
"value.converter.schema.registry.url": "http:/localhost:8081",
"confluent.topic.bootstrap.servers":"localhost:9092",
"oracle.server": "ECH-10-170-129-203",
"oracle.port": 1527,
"oracle.sid":"dctf1s",
"oracle.username": "NEXTGENUSER",
"oracle.password": "boss",
"start.from":"snapshot",
"redo.log.topic.name": "redo-topic20",
"table.inclusion.regex":"dctf1s[.]NEXTGENUSER[.](PFL_.*)",
"table.exclusion.regex":"dctf1s[.]NEXTGENUSER[.](PFL_BANK_DATA|PROFILE)",
"table.topic.name.template": "",
"connection.pool.max.size": 20,
"confluent.topic.replication.factor":1,
"topic.creation.groups": "redo",
"topic.creation.redo.include": "redo-log-topic",
"topic.creation.redo.replication.factor": 1,
"topic.creation.redo.partitions": 1,
"topic.creation.redo.cleanup.policy": "insert",
"[topic.creation.redo.retention.ms": 120960,
"topic.creation.default.replication.factor": 1,
"topic.creation.default.partitions": 1,
"topic.creation.default.cleanup.policy": "insert"
}

}

```
