Timeline for QGIS Regex expression label
Current License: CC BY-SA 4.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 8, 2022 at 13:22 | vote | accept | Florian Marlière | ||
Apr 8, 2022 at 9:53 | answer | added | Atm | timeline score: 2 | |
Apr 8, 2022 at 9:21 | comment | added | Atm | I thought QGIS was using the python regexp engine, but it is the PCRE engine. I'll fix that and write a more detailed answer. | |
Apr 7, 2022 at 12:18 | comment | added | Florian Marlière | Thanks ! When i use it on QGIS though i don't get the same result : regexp_substr( "CaPaKey" ,'[0-9]{5}([A-Z])[0]*([1-9][0-9]*)/([0]|([1-9]))*([_]|([A-Z]))([0]|([1-9])){3}') returns only 'A' | |
Apr 6, 2022 at 17:17 | comment | added | Atm | I don't think it will work every time and you need to remove the final slash in some cases, but I think this regexp is a good start : regex101.com/r/rhLSUO/1 | |
Apr 4, 2022 at 19:08 | comment | added | Florian Marlière | Post edited with the rules to consider :) | |
Apr 4, 2022 at 19:07 | history | edited | Florian Marlière | CC BY-SA 4.0 |
added 563 characters in body
|
Apr 4, 2022 at 12:15 | comment | added | Babel | From your examples it does not become immediately clear what rules you want to apply: can you state this in words? What characters should be removed, what should be left etc. | |
Apr 4, 2022 at 12:14 | history | edited | Babel | CC BY-SA 4.0 |
added 18 characters in body; edited tags
|
Apr 4, 2022 at 10:53 | comment | added | Ian Turton | try codecademy.com/learn/introduction-to-regular-expressions/… | |
Apr 4, 2022 at 10:50 | comment | added | Florian Marlière | Well nothing is working. To be honest, i have no clue how regex expression works even after looking for answers and guides on internet. | |
Apr 4, 2022 at 10:41 | comment | added | Ian Turton | how is your question different from gis.stackexchange.com/questions/68034/… | |
Apr 4, 2022 at 10:41 | comment | added | Ian Turton | what have you tried so far? what isn't working for you? | |
Apr 4, 2022 at 9:42 | history | asked | Florian Marlière | CC BY-SA 4.0 |