Products
SonarQube products
SonarQube Cloud
Cloud-based static analysis tool for your CI/CD workflows
SonarQube Server
Self-managed static analysis tool for continuous codebase inspection
SonarQube for IDE
Free IDE extension that provides on-the-fly analysis and coding guidance
Advanced Security
Secure use of open source code with advanced SAST and SCA
MCP Server
NEW
Bring code quality and security into your AI workflow
SonarSweep
EARLY ACCESS
Improve code produced by LLMs
Why Sonar
Use cases
AI code quality
Validate AI code for security and quality
Developer-led security
Secure apps and prevent vulnerabilities
Automated code review
Ensure secure, high-quality code
Platform engineering
Remove friction and boost productivity
Compliance & reporting
Automate proof of code compliance
SDLC governance
Align AI and developer standards
Secrets detection
Catch code secrets in development
All use cases
Explore
AI solutions
Security solutions
Code quality solutions
ROI calculator
NEW
Industries
Healthcare
Financial services
Retail
Federal government
Customer recognition
Our customers
Customer stories
Pricing
Developers
For developers
Developer hub
Commitment to open source
Community
Sonar rules
Developer guides
Documentation
SonarQube Server
SonarQube Cloud
SonarQube for IDE
Integrations
GitHub
Bitbucket
Azure DevOps
GitLab
See all
35+ languages & frameworks
Java
JavaScript
Python
C#
See all
Resources
Build better using SonarQube
SonarQube update hub
ROI calculator
NEW
Community
Interactive demos
Blog
White papers
Solution briefs
Research reports
Coding Personalities of Leading LLMs
The State of Code
Company
Learn about Sonar
About Us
Our customers
Partners
Events hub
Newsroom
Careers
Join us!
Contact us
Start for free
Upcoming virtual event!
Register now for the Sonar Summit - March 3
✕
Sonar Community
regex
Topic
Replies
Views
Activity
Regex for Portfolio Inclusion Not Generating Hits
SonarQube Server / Community Build
portfolios
,
sonarqube
,
regex
5
59
September 8, 2025
Why is a email validation regular expression flagged for having control characters?
SonarQube Server / Community Build
sonarqube
,
regex
11
3954
December 9, 2024
Default regular expression to detect long living branches for entire SonarCloud organization (not for a single project)
SonarQube Cloud
branches
,
regex
,
sonarqube-cloud
5
1825
August 5, 2024
Regex for Multi-Line Copyright Headers in C++ files
SonarQube Server / Community Build
cfamily
,
regex
3
223
July 31, 2024
Use RegEx for exclusion
SonarQube Server / Community Build
sonarqube
,
coverage
,
regex
3
1596
June 26, 2024
Non-cap group w/o quantifier specified by S5850 and proscribed by S6395
VS Code
java
,
rules
,
regex
,
bug
3
342
March 6, 2024
Process wide setting for RegEx match timeout is ignored
Report False-positive / False-negative...
csharp
,
regex
8
2060
February 3, 2024
TypeScript analysis crash on complex regular expression
SonarQube Server / Community Build
typescript
,
sonarqube
,
regex
2
403
November 27, 2023
False positive for typescript:S5869 (duplicate regex chars) with special character classes
SonarQube Cloud
typescript
,
regex
4
1015
September 22, 2023
java:S5850 vs. java:S6395
Report False-positive / False-negative...
regex
2
778
May 15, 2023
What would be the regular expression to locate a method?
Plugin Development
regex
3
520
December 21, 2022
Define a default regular expression to detect long living branches for entire organization
Suggest new features
branches
,
regex
,
sonarqube-cloud
0
581
November 22, 2021
The Java analyzer helps you write less complex regular expressions
Sonar Updates
java
,
regex
0
1279
June 2, 2022
Python: 8 rules to reduce the complexity of your regular expressions + 9 common rules
Sonar Updates
python
,
regex
0
3560
April 8, 2022
SonarCloud helps PHP developers simplify the complexity of their regular expressions
Sonar Updates
php
,
regex
0
943
February 17, 2022
Write efficient, error-free and safe regular expressions (regex) in Kotlin
Sonar Updates
kotlin
,
regex
0
827
November 12, 2021
Write efficient, error-free and safe regular expressions (regex) in Python
Sonar Updates
python
,
regex
0
1980
November 12, 2021
More PHP rules to write efficient, error-free and safe regular expressions
Sonar Updates
php
,
regex
0
666
October 27, 2021
Write efficient, error-free and safe regular expressions (regex) in Java
Sonar Updates
java
,
regex
2
4365
January 7, 2021
Write efficient, error-free and safe regular expressions in JavaScript and TypeScript
Sonar Updates
javascript
,
typescript
,
regex
1
4120
September 15, 2021
SonarLint for Eclipse 6.2 - Java quick fixes, more rules for cloud secrets detection and regexps
Releases
java
,
eclipse
,
security
,
regex
,
sonarqube-ide
4
1998
October 1, 2021
SonarLint for Visual Studio Code 2.3.0 - Java quick fixes, cloud secrets detection
Releases
java
,
vscode
,
regex
,
sonarqube-ide
0
1303
September 27, 2021
Write efficient, error-free and safe regular expressions (regex) in PHP
Announcements
php
,
regex
0
1420
September 15, 2021
Blog post: Crafting regexes to avoid stack overflows
Sonar Updates
java
,
regex
1
1107
February 23, 2021
Blog post: Setting the right (regex) boundaries is important
Sonar Updates
java
,
regex
1
1035
February 16, 2021
Write regexp in Java running fast, with the correct amount of resources and really doing what you intended
Sonar Updates
java
,
regex
0
1213
December 16, 2020