Clean field containing URL #1129
Unanswered
gromit6891
asked this question in
Q&A
Replies: 1 comment
-
Hi @gromit6891, Here is an alternative without regexes:
If this answers your question, mark this as answered. I believe you can achieve what you want with a regex as well, maybe with:
playground link, but I didn't test if this is generically correct |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to effectively clean up a URL field that contains additional characters at the end, e.g "/MyWeb/Pages/favicon.ico -"?
I tried variations on:
.clean_url = parse_regex!("/MyWeb/Pages/favicon.ico -", r'(?P.+?)\s-\s*$)')
But no luck so far.
Beta Was this translation helpful? Give feedback.
All reactions