Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Regex for the following string (digit+"dot" )

ID_number: 111.2.003

^ I need help creating a regex that will select anything on the logs that starts with "ID_number: " and ends with ".003" .
So the value that changes is the "111.2"

Cannot get any output with what I’ve tried

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The following regular expression will match strings that start with "ID_number:" and end with ".003"

ID_number: (\d+(\.\d+)*)\.003
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading