I have a string:
FROM {oj table1 left outer join table2 on table1.field1 = table2.field1}, table1, table3
How can I match the table1
outside the braces?
If you only want table1
outside the brackets.
/table1(?=,)/
or
/table1[^\}]+/
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.