Timeline for use regex to parse string using python
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 10, 2020 at 0:11 | vote | accept | Sunny | ||
| Sep 3, 2020 at 2:45 | comment | added | Daniel Walker | Try it now. I didn't see those digits before. | |
| Sep 3, 2020 at 2:45 | history | edited | Daniel Walker | CC BY-SA 4.0 |
added 6 characters in body
|
| Sep 3, 2020 at 2:44 | comment | added | Sunny | Thanks Daniel. Changes to regex 1 works for all examples. Regex 2 still does not work for example 3 & 4 | |
| Sep 3, 2020 at 2:36 | comment | added | Daniel Walker | There you go. Updated | |
| Sep 3, 2020 at 2:36 | history | edited | Daniel Walker | CC BY-SA 4.0 |
fixed a typo
|
| Sep 3, 2020 at 2:27 | comment | added | Sunny | Please check one more example provided in original question...thanks for your help | |
| Sep 3, 2020 at 2:23 | comment | added | Sunny | for example 3, I want to extract 01372451.1 from the first row and 10552884 from the second row. | |
| Sep 3, 2020 at 2:20 | comment | added | Daniel Walker | For the third example, what would you like to extract? | |
| Sep 3, 2020 at 1:29 | comment | added | Sunny | That helped. I modified original question to include another example. The solution provided worked for example 1 and 2, but did not work for 3. | |
| Sep 3, 2020 at 0:50 | history | answered | Daniel Walker | CC BY-SA 4.0 |