Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for TonyMontana
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #291744 |
Post edited: Updated content |
— | 5 months ago |
Edit | Post #291744 | Initial revision | — | 5 months ago |
Question | — |
Regex to get text outside brackets I am trying to capture the content outside square brackets in groups, using this regex: ``` (.)\.?\ ``` And it works perfectly for a simple string like this: ``` testing[is]done ``` This is the sample script I am using: ```python import re groups = re.match(r"(.)\.?\", "testing[is]done... (more) |
— | 5 months ago |