Autonotification readout url filter
I have a profile for when I'm in my car to read out incoming notifications using Autonotification. I can filter messages that contain urls entirely, but that's not exactly what I want to do. Is there a way to still read out a message and just skip reading any urls that are in the message? Bonus point sif the url can be replaced with the word URL so that I know it is skipping over spelling out an entire link. Thanks!
Posted Aug 25, 2022, 9:02 PM UTC
01
put the text in a local variable (or use the one already containing the text). Then do a variable search replace:
search: https?://|www.*?
replace with: URL
with search and replace ending both with a space
update:
search: (http|www\.)[^ ]*
replace with: [nothing]
no spaces needed anymore (now included in the square bracket)