please give regular expression to validate my variable should start with 0 and only 3 digits
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2025 06:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2025 06:55 AM
please give regular expression to validate my variable should start with 0 and only 3 digits.
Example :012,023,099
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2025 07:11 AM - edited ‎10-17-2025 07:11 AM
Try this regex:
^0[0-9]{2}$
For testing and creating regex use https://regex101.com/
Please mark the answer correct/helpful accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2025 12:27 AM
@Rajyalakshmi was this regular expression helpful?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2025 05:10 AM
Can you please mark the relevant answer correct to close the thread.
